Problems with semi colens and brackets


i am having a lot of problem with problems with semi colens and brackets() and curly brackets{ }. please help me with how to use them



Yes after function() you shouldn't have a semi colon

Which part of the brackets don't you understand?



Yes after function() you should have a semi colon

I've never written JavaScript that way...

@vaibhav2286 I recommend you take the JavaScript course; it explains all of this stuff, plus you'll need to learn JavaScript eventually if you're working with jQuery.


I meant shouldn't typo.. Ooops


so should i learn java script first


I have started with j query and completed 30% approx



so should i learn java script first

I'd say yes. You don't have to, but it will help you understand jQuery better.