Is it a good idea to learn JavaScript before learning jQuery? [closed]

Solution 1:

An emphatic YES. It won't take as long to learn as you fear and the rewards will be more than worth it.

Solution 2:

Sometimes I find myself struggling because I feel I don't know Javascript as well as I should?

I think you answered your own question.

Solution 3:

I'll go against the grain and say that, while ideally you would become proficient in JavaScript before learning jQuery, you can probably make great progress on both fronts by jumping in and coding using the library.

One of jQuery's strengths is that it makes it easier to do certain things in the browser. You can get a lot of real work done by cutting and pasting and adapting other people's code, so why not start doing that? As you go, when you encounter an idiom you don't quite understand, dig around and find out what it means or how it works.

Over time, you will become a master of both JavaScript and jQuery.

If you have any kind of programming background, a good book to read to get you up to speed quickly on JavaScript is Douglas Crockford's, JavaScript: The Good Parts.

Solution 4:

Long as you learn the BASICS in Javascript; HTML document traversing, event handling, etc... you should have no problem learning jquery.

Then from learning the basics you will understand how Jquery is to help you do the things that javascript can do, but with less work.