N shortcut 2


#1
    $('.btn').addClass('disabled');
}
else if (charactersLeft === 140)
{
    $('.btn').addClass('disabled');
}
else 
{ 
    $('.btn').removeClass(); 
}

});

$('.btn').addClass('disabled');

};

$(document).ready(main);

var main = function() {
('.article').click(function() { (’.description’).hide();
(this).children('.description').show(); (this).addClass(‘current’);
});

(document).keypress(function(event) { if(event.which === 111) { (’.current’).children(’.description’).toggle();
}

var currentArticle = $(’.current’);
var nextArticle = currentArticle.next();

     else if(event.which === 110) {
 nextArticle.addClass('current');

}
});
}

$(document).ready.(main


#2

Hey @csscoder68873! Your problem is at the end of it where you forgot to close you main :smile:! Right here:

And also an unnecessary bracket at the beggining here(im making the bracket bold):

Just close it with a parantheses and you should be good! If not please reply saying so! Good Luck!