jQuery or java script? thats the question! do you have any idea about this? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

jQuery or java script? thats the question! do you have any idea about this?

17th Apr 2019, 11:10 AM
reza meisami
reza meisami - avatar
7 Answers
+ 2
jQuery is not mainly bad for its size it only has 30kb minified, if I combine the javascript code of some dependencies like vue, vue router, bootstrap-vue, agios unminified it will have a ~ size of 1.6 MB. I can agree with many issues that people may have with jQuery( like the fact that it manipulates the DOM directly, or that many of its past functionality is now included in the core of javascript) but the size of the library isn't the main issue. Plain javascript, libraries or frameworks, any of them can be the perfect solution for specific scenarios, there isn't a best solution for every scenario, all solutions have pros and cons in this case.
17th Apr 2019, 10:02 PM
Andrei O
Andrei O - avatar
+ 6
Vanilla JavaScript jQuery let you code quickly, but its large library results in long loading time, and is bad for user experience
17th Apr 2019, 12:00 PM
Gordon
Gordon - avatar
+ 6
just learn Js and later jquery
17th Apr 2019, 11:36 PM
Iā€˜m SarahšŸŒ¹
Iā€˜m SarahšŸŒ¹ - avatar
+ 5
I think JQuery (basically a JS library) can only do a subset of what plain JS can do, but it has a far more concise syntax.
18th Apr 2019, 7:47 AM
Sonic
Sonic - avatar
+ 2
According to my point of view Jquery is the better than javascript for dynamic web pages also it supports cross platform! You can write jquery with a simple syntax with the less lines of code when compared to javascript.. Its awesome.. JavaScript is a language and JQuery is a library built using JavaScript. http://pythonandmltrainingcourses.com/best-summer-training-in-noida/
18th Apr 2019, 10:21 AM
navdeep
0
JQuery is a JavaScript library. You can achieve the same things with either from the client side. JQuery is easier to code with, but with vanilla JS, you will get the best performance.
18th Apr 2019, 12:42 PM
Big Joe
Big Joe - avatar
0
Jquery and javascript more like. JS for: data types, Abstract data types, functions, math, high order functions, ajax JQ for: event handling, dom traversal, html manipulation, css manipulation JQ by far has a simpler syntax. e.g. JS: document.getElementById(ā€˜elā€™).style.background=ā€œgreenā€ would be JQ: $(ā€˜#elā€™).css(ā€œbackgroundā€, ā€œgreenā€)
19th Apr 2019, 12:24 AM
Logomonic Learning
Logomonic Learning - avatar