1. jQuery is a free JavaScript library which makes it quicker and easier to build JS webpages and web apps. The library comes in a single .js
file that can be linked to the webpage and the code can be accessed by calling various functions.
2. jQuery makes it easier to write powerful JS apps by using the code for common task like XML (Ajax) requests, image slideshows, drop-down menus, etc. Another advantage is that the jQuery JS code is compatible with different popular browsers and audited a lot which reduces the risk of security flaws and bugs.
3. The uncompressed .js
file is easier to read and modify which makes it better to use while developing. The minified .js
file is the version you want to use in production since the file is way smaller (23kb compared to 160kb) and therefore quicker for visitors to download.