jQuery VS. JavaScript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

jQuery VS. JavaScript

Is there anything that can be done in JavaScript and isn't possible in Jquery

14th Jun 2020, 2:37 AM
Muizz Tiamiyu
Muizz Tiamiyu - avatar
8 Answers
+ 5
There is not magic in jQuery. It's just some Javascript code meant to hide away some "hard"(🤔) parts of commonly needed Javascript functionality. jQuery is a library and subset of Javascript. Thus you can use them both together (actually the always are used together). When you code in jQuery you are coding in Javascript. Also take a look at this discussion. Sort by date and read carefully. Pay attention to the responses by David Carrol, Ore Adeleye and Calviղ. https://www.sololearn.com/discuss/2315553/?ref=app
14th Jun 2020, 3:34 AM
Kevin ★
+ 8
Your question is like asking is there anything a baby can do that a human being can't do. A baby is still a human being remember? jQuery is written in JavaScript, it's not possible to do something in jQuery and fail to do in JavaScript because whatever that thing is it is being done by JavaScript. The inverse is true though, you can do things in JS that you can't do in jQuery.
14th Jun 2020, 4:09 AM
shovan
shovan - avatar
+ 7
What jQuery can do, JavaScript can do it much better. What JavaScript can do, it may not possible in jQuery. Forget about jQuery, focus on mastering in modern JavaScript.
14th Jun 2020, 3:35 AM
Calviղ
Calviղ - avatar
+ 4
Jquery is the library of javascript. Javascript is a client side scripting language to create responsive webpages.
14th Jun 2020, 2:55 AM
Samira
Samira - avatar
+ 3
I think you don't have a sound understanding of what jQuery is. jQuery is a JavaScript library. Think of it has an extension to JavaScript. For example if I download an extension in my browser. The extension adds extra functionality without removing any previous functionality(hopefully). That is how jquery is. After importing jquery in your project you can use as many of jquery methods as you which. Even if you don't use any of its methods your code still works fine.
14th Jun 2020, 12:24 PM
Ore
Ore - avatar
+ 1
Really hoping to know
14th Jun 2020, 2:39 AM
Muizz Tiamiyu
Muizz Tiamiyu - avatar
- 2
Javascript is a scripting language. whereas Jquery is a library which is developed from Javascript. Javascript is a programing language. Jquery is fast and small and rich javascript library. Javascript is written in c. Jquery uses resources given by Javascript which makes it easier. Code length in JQ is fewer than JS.
17th Jun 2020, 4:54 AM
Shaili Shah
Shaili Shah - avatar
- 3
C#
15th Jun 2020, 10:09 AM
Learn Big - LB
Learn Big - LB - avatar