Need help finding the syntax error


Hello, could someone help me, because i'm stuck here. Syntax error but i really cant find it.

var main = function() {
  $('.article').click(function() {
      $('.article'.removeClass('current'); $('.description').hide();


    $(document).keypress(function(event) {
      if (event.which === 111) {



7. The o shortcut Interactive Website: News Reader

Hi Paoad,

Please post a link to the exercise you're on.


There's no such function - you need to change it to be camelCased, like this: addClass.



The first line shown there ↑ has an extra closing parenthesis ()) on it, you need to remove it.


Solved. Thanx a lot for helping me fing the misake :slight_smile:


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