r/jquery • u/alex316 • Aug 19 '15
What to study first Java script or java query??
Just completed my html+css+xml course want to study java script or java query which ever is preferable n easy to understand I'm mainly use Headfirst series books as reference books
14
7
u/RoToRa Aug 19 '15
Additionally to what the others said: Java has nothing to do with JavaScript or jQuery. It's a completely separate thing.
5
4
u/driverdave Aug 19 '15
Do you mean JavaScript or jQuery?
If so, learn JavaScript first. jQuery is a JavaScript library, so if you don't understand JavaScript, trying to learn jQuery would be a mistake.
2
u/baldhippy Aug 19 '15
Javascript first. You need to learn it to develop for the web.
Having said that, jQuery makes coding javascript so much easier.
javascript code:
var x= document.getElementById("someHtmlID");jQuery code:
var x = $("#someHtmlID");That's just a simple example, jQuery makes so many things easier, and it is like using another language within javascript, but anything you can do in jQuery you can do with javascript.
1
u/vesomortex Aug 19 '15
Javascript first for the general syntax and to learn what you can do with the DOM object. Also jQuery does not replace javascript, so having good js fundamentals is important. Additionally, even if you know jQuery it is sometimes useful to know how to do things that were done in the jQuery way in the vanilla javascript way.
1
u/DirtAndGrass Aug 20 '15
"JavaScript Query" would be a more accurate expansion of the name, but the name is simply "jQuery". and there isn't any official longform
Note that it is JavaScript (one word)
jQuery IS javascript, so learning jQuery is actually learning JavaScript (at least a small part of it)
31
u/RandyHoward Aug 19 '15
It is preferable to learn javascript first, because all jQuery is is a library of javascript. In other words, jQuery is javascript. You can learn jQuery first, I did actually, but it's preferred you learn the underlying language first.
Also, please don't call it java query ever again.