+ 1
What is the main difference between javascript and j query?
web scripting
2 odpowiedzi
+ 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.
0
JQuery is a Javascript's library. The JQuery code is more simple.