What is the main difference between javascript and j query? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the main difference between javascript and j query?

web scripting

28th Jan 2018, 11:28 PM
Edson Maverick
Edson Maverick - avatar
2 Answers
+ 1
You can do anything with Java Script that you can do with JQuery. JQuery allows shorter code by using JQuery's methods which simplifies JavaScript functions and common functionality such as animation (CSS3 made JQuery's animations less valuable anyway) Honestly it would be best to just look as this site which compares some JQuery methods and its JS counterpart. Somethings that can take 10 lines in JS can be done with 1 line in JQ. http://youmightnotneedjquery.com/ tl;dr Java Script is the language. JQuery is a Java Script library which allows you to do common functionality faster and has some more compatibility with older browsers.
29th Jan 2018, 12:59 AM
R. Chaotic
R. Chaotic - avatar
0
JQuery is a Javascript's library. The JQuery code is more simple.
29th Jan 2018, 1:03 AM
Maximiliano