Trouble with the .click and .keypress


Hi! I'm stuck on 7. The o shortcut. The shortcut isn't working AND the .click isn't working, but codeacademy told me my code was correct!

I'm receiving two error messages:
"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."

"Uncaught SyntaxError: missing ) after argument list"

var main = function() {
    $('.article').click(fuction() {
    $(document).keypress(function(event) {
        if(event.which === 111) {




Have a close look at



Got it.



This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.