- What is jQuery?
jQuery is a JavaScript library that hosts numerous functions that are ready to be used and can easily be called upon to easily make changes and updates to our websites.
- How does it help us as developers?
jQuery helps us as developers as it allows us to use code and functions that have already been created/written so we do not have to write our own code and functions. We do not have to re-invent the wheel and can efficiently build upon the work of others.
- Why do we have 2 version of jQuery - minified and uncompressed?
We use two versions of jQuery minified and uncompressed, because both are useful in different ways. Minified is smaller and has had all the comments, whitespace, and other unnecessary characters removed and so is only 23kb large. It can therefore be easily downloaded by visitors to your site and still provides all the functionality of the library.
The uncompressed file is larger than 160kb, and while this may be inconvenient for downloading, it is easy to read and modify and so is used as the âuser friendlyâ referral library file.