I need help with the "O" shortcut


#1

HELP ME WTH THIS. PLEASE

https://www.codecademy.com/courses/web-beginner-en-4hxyb/0/7?content_from=make-an-interactive-website%3Ajquery-events

It just says syntax error.

I DO EVERYTHING RIGHT AND THEN IT SAYS:

Oops, try again. It looks like the o key isn't opening a description. Remember to toggle the current article's description inside the event handler. Look back at the instructions for the code.

My code:

var main = function() {
    $('.article').click(function(){
        ...
    });
    
    $(document).keypress(function(event) {
         if(event.which === 111) {
    $('.current').children('.description').toggle();
         }        
    });
        $('.article').removeCLass('current');
        $('.description').hide();
    
        $(this).addCLass('current');
        $(this).children('.description').show();
  };    
};



$(document).ready(main);

#3

All of the above code should be inside of the click event handler. Your keypress event handler looks correct.