Uncaught SyntaxError(s)


#1

I keep getting these, i am note sure what the problem is because the cheeking script, seams to think i can go onto next lesson.
I am currently on lesson 3-6 of interactive website

this is my code

var main = function() {

$('.article').click(function() {
$('.article').removeclass('current')
$('.description').hide();

 $(this).addclass('current')
 $(this).children('descrition')show();

});

$(document).keypress(cunction(event) {
};

$(document).ready(main);

if you can see something, me and my Teacher can not, please point it out

-Nathan H.

P.S. any tips to avoid this in the future are appreciated


#2

It currently says
"uncaught Syntax Error: Unexpected Edentifier


#3

Hi Nathan,

You need to close what you open.