Which one is better? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which one is better?

Pure JavaScript or Jquery

13th Oct 2018, 6:12 AM
Martin Tembo
Martin Tembo - avatar
4 Answers
+ 4
Well, the answer is neither. JS and JQuery are not different languages and hence cannot be compared in such way. The purpose of JQuery is to make it easier to use JS. JQuery is part of JS. It cannot exist on it's own. All you can say is when and why to use JQuery instead of plain JS. https://stackoverflow.com/questions/7266067/jquery-over-javascript-why-and-when-to-use
13th Oct 2018, 6:31 AM
Hatsy Rei
Hatsy Rei - avatar
+ 3
What do you mean by better? Performance? Readability? Ease-of-use? The question is too general. JQuery is a library for JS. If JS is "better" on its own, JQuery would exist for nothing.
13th Oct 2018, 6:21 AM
Hatsy Rei
Hatsy Rei - avatar
0
In everything
13th Oct 2018, 6:24 AM
Martin Tembo
Martin Tembo - avatar
0
JQuery and JavaScript somewhat work hand in hand, there isnt exactly a 'better' language out of the two
13th Oct 2018, 9:34 AM
Eleanor
Eleanor - avatar