WHAT IS JQUERY?
jQuery is a JavaScript file that you include in your web pages. It lets you find elements using CSS-style selectors and then do something with the elements using jQuery methods.
1: FIND ELEMENTS USING CSS-STYLE SELECTORS
A function called jQuery() lets you find one or more elements in the page. It creates an object called jQuery which holds references to those elements. $() is often used as a shorthand to save typing jQuery(), as shown here.
Get JavaScript and JQuery: Interactive Front-End Web Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.