What am I doing wrong?


Trying to complete the Interactive Website Exercise and am having some issues. Below is a link to the exercise and the error message I am receiving. Also the Live Website will not respond. Thanks in advance for your help. Also, if someone could explain how exactly all the brackets and parenthesis work it would be helpful. I know they break the code up into some sort of blocks or chunks, but I'm having trouble figuring out the "rules" of their usage. The exercises seem to assume you just know how they should work.


Uncaught SyntaxError: Invalid or unexpected token

var main = function() {
    $('.article').click(function() {



You have 1 closing-curly-bracket-} to many
in your article =click= Eventhandler......



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