Problems with semi colens and brackets


#1

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


#2


#3

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

Which part of the brackets don't you understand?


#4

@zainabrawat

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.


#5

I meant shouldn't typo.. Ooops


#6

so should i learn java script first


#7

I have started with j query and completed 30% approx


#8

@vaibhav2286

so should i learn java script first

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