what is jquery used for code example

Example 1: what is jquery

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.

Example 2: what is jquery

Q: What is jQuery?
  
A: jQuery is a JavaScript library designed to simplify HTML DOM tree traversal
and manipulation, as well as event handling, CSS animation, and Ajax. It is
free, open-source software using the permissive MIT License. As of May 2019,
jQuery is used by 73% of the 10 million most popular websites

Example 3: jquery

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
new 3.5.1

Tags:

Php Example