1.jQuery is a javascript library.
2. It helps us by reducing the amount of code that has to be written to perform various tasks, as implementing slideshows, animations etc. It also makes your code run on various different browsers without the need to adapt your code separately.
3. uncompressed has comments etc. -> easier to understand. minified smaller in size(no jibberish) -> faster user experience for visitors of your site (same functionality)
1: jQuery is a library written in JavaScript, that enables the user with certain lines of code that yield the same results as maybe 10-20 lines of code wouldâve yielded without the use of jQuery.
2: jQuery lets the coder use code that has already been written before for popular features such as image slideshows, drop-down menus and login screens. This makes the coding process much less time consuming due to the fact that a single line, as mentioned before, can result in 20 lines worth of âregularâ JavaScript code. Furthermore, jQuery is compatible with several different popular browsers such as Internet Explorer, Firefox and Safari, meaning you that you can call the needed jQuery function and let jQuery appropriate the code for whichever browser.
3: The uncompressed .js file is easier to deal with and understand but is 6 times the size of the minified .js file that has all unnecessary characters removed. It is recommended to use the minified .js file on your website as it is a much quicker download for visitors.
-
What is jQuery?
jQuery is the Most popular JavaScript librarie. It makes writing Code in JavaScript much faster and easier. -
How does it help us as developers?
jQuery enables us to do many different animations and operations with less code. Therefore it is used by most developers. Plus jQuery
provides multi browser compability. -
Why do we have 2 version of jQuery - minified and uncompressed?
The uncompressed version is easier to read but the minified version is much smaller. Therefore the minified version is used if youâre programming a website.
Hi @alex.k,
Good answers
Just to clarify⌠the uncompressed version is used during development (programming a website) because, as you say, it is easier for developers to read and work with. The completed product should link to the minified version because it can be downloaded much more quickly by the user.
Ok, I didnât get that.
Thank you for you help!
-
What is jQuery?
jQuery is a free JavaScript library -
How does it help us as developers?
jQuery makes it easy to write powerful JavaScript apps and create eye-catching animated effects rivalling those of Flash movies. -
Why do we have 2 version of jQuery - minified and uncompressed?
The uncompressed .js
file is easy to read and modify.
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,
-
What is jQuery?
jQuery is a JavaScript library that contains many useful functions that can be called from your app or webpage, without having to write out the code for that function⌠-
How does it help us as developers?
Having a JavaScript library such as jQuery, means instead of having lots of lines of code (and possibly some headaches) in order to achieve something, you can just call the function from the jQuery file and only use one line of code. This process saves programmers a lot of time and resources. -
Why do we have 2 version of jQuery - minified and uncompressed?
The uncompresses version of jQuery is far easier to read and understand (if you are a human being that is) but is larger in size, meaning that your website or app is going to be more sluggish for the user. This version is easier to modify also as it is more clear to the programmer. The minified version however is not going to slow down loading of your page or app quite as much as it is considerably smaller (nearly 1/8th the size). It is more difficult to understand and modify this version however as all of the comments, whitespace and unnecessary characters have been removed.
- What is jQuery?
JQuery is a library that makes it easier to build web apps and web pages.
2.How does it help us as developers?***
JQuery saves you time by allowing you to do with a single line of code that would require multiple lines.
3.Why do we have 2 version of jQuery - minified and uncompressed?
Uncompressed .js file is easy to read since it has all comments added, while the minified .js file has these removed. This is the file you want to use since is faster to download for the site user.
1. What is jQuery?
JQuery a JavaScript library.
2. How does it help us developers?
It makes our job more convenient by supplying us with the answers on how to write certain functions, such as a slide show, which also saves us a lot of time.
3. Why do we have two versions of jQuery - minified and uncompressed?
Uncompressed has all the extra data we need to understand the code, such as comments, and also makes for an easier read.
Minified is the pure code, which is less easy to read. Because it doesnât have all that extra data it is smaller in size and thus favourable to using on your website as it is quicker for the user to download.
-
- jQuery is a library of functions that a developer can use in their code.
-
- This saves us time as we do not need to rewrite code that has already been written.
-
- Minified is a simplified version of Javascript that optimises download time by removing all the unnecessary elements that make the code easier to read, allowing the file size to be reduced to 23kb. Uncompressed code is reader friendly and around 160kb in size.
- jQuery is Javascript library that contains a wide variety of standard web-design functions.
- JQuery is useful for creating animated effects, slideshows, and drag-and-drop interfaces, making XML requests, manipulating the document object model, inserting drop-down menus, and making forms more flexible.
- The two versions of jQuery differ in terms of the amount of documentation that they provide. The uncompressed version is fully documented and therefore extensive, and the minified version is small and easy to download but difficult to read due to lack of documentation.
- What is jQuery?
jQuery is a lightweight JavaScript library, it is also the most popular library so far.
- How does it help us as developers?
It greatly simplifies the building process of a website or app in JavaScript.
- Why do we have 2 version of jQuery - minified and uncompressed?
A programmer would use a version rather than the other according to his own experience and his intentions with it, since one of them ( the uncompressed ) itâs easier to read and modify, but weights 160 kb, whilst the other one ( the minified ) is a lot smaller since it removes all the unnecessary bits but it is also a lot more difficult to read.
- What is jQuery?
A library of files containing code
- How does it help us as developers?
Saves us time, workload and produces clear clean code.
- Why do we have 2 version of jQuery - minified and uncompressed?
Uncompressed is a larger file, complete with developers comments and instructions. While minified is a more compact version of the file.
â> because of the size of the library; minified is smaller and therefore loads faster.
jQuery is a very popular library used for presentation on-screen or user interface UI adornment and functionality.
jQuery lets us concentrate on the unique parts of our pages or apps that weâre building without having to spend time on parts of the code that can be re-used from this library. With jQuery we can create animation effects, manipulate the DOM, and make a pleasant and rewarding user experience by writing fewer lines of code. A real plus is that jQuery will handle the differences between browsers so we can more easily produce code that works across all browsers.
Two versions of jQuery are available for developing an app. Use the uncompressed version while coding. Then, when deploying use the minified version of jQuery to streamline the delivery to the user who wants a fast and responsive experience. The minified version has all the whitespace and comments removed so itâs a fraction of the size of the uncompressed version and much quicker to download.
Hi @kmilo_Mart,
Thatâs exactly right, and because of these different characteristics that you have detailed:
- The uncompressed version is more useful to programmers during development.
- The completed product should link to the minified version because it can be downloaded much more quickly by the user.
Hi @keithra1948,
⌠and just to clarify:
- The uncompressed version is for use during development, because it includes comments (as youâve said), and is easier to read and modify, because it hasnât had any whitespace or certain characters removed.
- The minified version is much more compact, because the comments, whitespace and certain characters have been removed. The completed product should link to this version because, as youâve said, it can be downloaded much more quickly by the user.
Hi @FrankB,
Thatâs right, and because of these different characteristics that you have mentioned:
- The uncompressed version is more useful to programmers during development. It is easier to read and modify because it hasnât had any whitespace or certain characters removed (unlike the minified version).
- The completed product should link to the minified version because it can be downloaded much more quickly by the user.
Hi @Ernest_SG,
âŚjust to clarify:
-
A programmer is more likely to use the uncompressed version during development, because it includes comments and, as youâve mentioned, itâs easier to read and modify, because it hasnât had any whitespace and certain characters removed (unlike the minified version).
-
The completed product should link to the minified version because it can be downloaded much more quickly by the user.
Hi @dani88,
âŚyes, a JavaScript library.
Thatâs right. And the reason why we have these two versions with the different characteristics youâve mentioned is because:
- the uncompressed version is more useful to programmers during development. It is also much easier to read and modify, because it hasnât had any whitespace or certain characters removed (unlike the minified version).
- The minified version can be downloaded much more quickly by the user, and so the completed product should link to this version.