+ 2
Javascript
Hello can someone tell me what jquerry is used for? i am a new user of js
3 Réponses
+ 4
jQuery is a lightweight, "write less, do more", JavaScript library.
The purpose of jQuery is to make it much easier to use JavaScript on your website.
jQuery takes a lot of common tasks that require many lines of JavaScript code to accomplish, and wraps them into methods that you can call with a single line of code.
jQuery also simplifies a lot of the complicated things from JavaScript, like AJAX calls and DOM manipulation.
More on these links :
https://www.w3schools.com/jquery/jquery_intro.asp
https://www.educba.com/uses-of-jquery/
https://www-javaworld-com.cdn.ampproject.org/v/s/www.javaworld.com/article/2078613/6-reasons-you-should-be-using-jquery.amp.html?amp_js_v=a2&_gsa=1&usqp=mq331AQA#referrer=https://www.google.com&_tf=From%20%251%24s
Thanks
+ 1
Takes less code for things that you usually do using DOM, manipulating by tags or IDs in the HTML code. Also uses functions for hiding and showing elements.
+ 1
You can also learn from the JQuery tutorial on SL.