What is jQuery?
jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.
-Official jQuery website
jQuery is not a language in itself; it is a JavaScript framework that helps to code JavaScript more easily and efficiently. The good points of jQuery are as follows:
- It simplifies JavaScript syntax
- It has fixed most of the issues that JavaScript will have between each web browser
- It makes deployment safer across all platforms
- It's easy for a beginner to understand
- It has many libraries and a big community
To use jQuery, we'll just need to link a script to our HTML, but, fortunately, with HTML boilerplate, jQuery is already integrated. The following is the line in our HTML that calls the URL and downloads the jQuery file:
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>