JavaScript VS jQuery? Which is better? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

JavaScript VS jQuery? Which is better?

JavaScript VS jQuery? Which is better? JavaScript VS jQuery, Which is much better to manipulate webpages ? Which provides more features? Which can performe more tasks ? Which has a better syntax ? What's the difference between the two ? Which one is easier ? What's your answer ?

7th Jun 2017, 12:57 PM
Palash Chatterjee
Palash Chatterjee - avatar
10 Answers
+ 23
jQuery is not a language, it's a Javascript framework that allows you to write less for do the same things of Javascript. There is no one "best", use jQuery if you have BIG projects and you need of small code and more readability, otherwise... stay away from frameworks and write in pure JS. Best Syntax for me pure Javascript (but this is just my opinion about that) Best performance surely pure Javascript - http://vanilla-js.com/ More features, jQuery... methods like toggleClass( ) can be helpful sometime. I prefer write in pure JS, always... but frameworks if they are used good are not the evil. ;)
7th Jun 2017, 1:02 PM
Maz
Maz - avatar
+ 13
JavaScript of course.
7th Jun 2017, 1:30 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 11
I LOVE BOTH 💟
7th Jun 2017, 3:07 PM
Ishwarya Manikandan
Ishwarya Manikandan - avatar
+ 9
maz is right bro avoid using framework because it decreases your skills
7th Jun 2017, 4:58 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 7
js is dad of j query i support both btw selecting of element is too easy in j query and JavaScript is easy to understand
7th Jun 2017, 4:55 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 7
JS for me :)
29th Aug 2017, 9:47 AM
AL.The.Flame!
AL.The.Flame! - avatar
+ 2
The previous commenter touched on this, too, but it's worth noting that jQuery is a JavaScript library. All jQuery uses JavaScript. Not all JavaScript uses jQuery. A better question might be do people like jQuery, and why or why not? For people that don't like jQuery, I might ask why do they not find it useful and what other tools do they prefer for common jQuery use cases?
7th Jun 2017, 1:11 PM
Kurt Schwanda
Kurt Schwanda - avatar
+ 1
alright let me understand ..so thus framework it's just for to build some quick scripts?
7th Jun 2017, 1:17 PM
Pipe Stark
Pipe Stark - avatar
+ 1
With more efficient syntax on ES2016, we can write better javascript code now. Consider using javascript without jQuery first, once you have familiar the syntax, you would not need or like to use jQuery, even thought Javascript is a bit verbose.
7th Jun 2017, 1:29 PM
Calviղ
Calviղ - avatar
+ 1
LunexiaScript
16th Jan 2018, 7:22 AM
Chat d'Oeuf (Baron)
Chat d'Oeuf (Baron) - avatar