👤

How does a jQuery plug-in help in web development?​

Sagot :

Answer:

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.

Explanation:

jQuery makes use of powerful, clean, and simple syntax that makes it easier to pick the DOM elements on the webpage that you want to change with JavaScript and enable you to chain effects and actions together for effective code. It is common to replace dozens or more JavaScript lines with one line of jQuery code.