The n shortcut 2


What is wrong with my code. It doesn't work
var main = function(){

            if(event.which === 111){
            else if(event.which === 110){
                    var currentArticle = $('.current');
                    var nextArticle =;



Hi Muntean21,

Take a look here:

and see if you can find the problem :slightly_smiling:


You need to remove the dot (.) inside your addClass() and removeClass() function calls.


Thank you very much for your help!


I have a problem on the same question and I already removed the dots (.) inside the classes and it still tells me it's wrong.. Help please.


@rico321 Create a new topic with your code, a link to the exercise you're on, and the error message you're getting, and someone will help you over there :slightly_smiling: