- What is jQuery?
Itâs a library that contains open source code and files, free to download and use, and is dual-licensed under the MIT and GPL licenses.
It is quicker and easier to build JavaScript webpages and web apps. JavaScript code then accesses the library by calling various jQuery functions.
- How does it help us as developers?
With jQuery you can write powerful JavaScript apps using fewer lines of code.
for things like animations, Ajax requests, DOM manipulation, image effects, and user interface elements.
- Why do we have 2 version of jQuery - minified and uncompressed?
The uncompressed .js file is easy to read and modify, but itâs around 160kb in size (at the time of writing) which takes longer for user to load the page.
The minified .js file has all comments, whitespace, and other unnecessary characters removed from the file, squeezing the whole library into a mere 23kb. Although you canât easily read the code, this is the version youâll want to place on your site, as itâs much quicker for visitors to download.