jQuery Reading Assignment

  1. What is jQuery?
    A javascript library

  2. How does it help us as developers?
    Developers can make use of functions that have already been written and shared, thereby saving them time and reducing the amount of code they need to write themselves.

  3. Why do we have 2 version of jQuery - minified and uncompressed?
    The minified version is more practical as it is smaller in size and can be downloaded more quickly. The Uncompressed version I would think is for anyone who wants to explore the jQuery library code to understand the functions operations.

1 Like
  1. What is jQuery?
    jQuery is a free JavaScript library

  2. How does it help us as developers?
    By helping us to build JS apps faster, as we can write code using fewer lines. Allows us to create animation, image effects, interface elements, DOM manipulation, etc as well let us write cross-browser JS code (For example: between Firefox, Chrome, Brave)

  3. Why do we have 2 version of jQuery - minified and uncompressed?
    The ā€˜uncompressedā€™ version is easy to read and modify but is larger in size, the ā€˜minifiedā€™ version removes all the unnecessary characters making the file smaller in size, the code is not easy to read but is the version we want to work with as allows faster loading speed when visiting the website.

1 Like
1. What is jQuery?

A JS library.

2. How does it help us as developers?
  • It allows you to accomplish common tasks with less code
  • It hides some of the cross-browser incompatibility issues as these get handled under the hood in jQuery for the operations it supports.
3. Why do we have 2 version of jQuery - minified and uncompressed?
  • The uncompressed version is easier to read and modify if this is needed
  • The minified version is significantly smaller if you just want to use it. This is desirable itā€™s less data for the web page to load.
1 Like

1. What is jQuery? jQuery is a JavaScript library.

2. How does it help us as developers? It allows programmers to use code that has already been developed by other programmers, making it quicker and easier to build JavaScript web pages and web apps.

3. Why do we have 2 version of jQuery - minified and uncompressed? The jQuery library comes in two forms: uncompressed and minified. The minified version has all comments, white spaces and other unnecessary characters removed from the code to reduce the file size, making it faster for users to download the website from the server.

1 Like
  1. jQuery is a free java script library.
  2. It allows developers to create powerful javascript apps by writing less lines of codes.
  3. minified is has all the unnecessary spaces and comments removed, making it much harder to read the code, however providing a smaller size library. This should be used when referencing in your website as it itā€™s for visitors/users to download. Uncompressed on the other hand contains all the white space and comments, making it easy to read and modify, however results in a larger size library.
1 Like

What is jQuery?

  • jQuery is a free library that makes it easier to create powerful JavaScript web pages and web apps.

How does it help us as developers?

As the links says, you can:

  • Write a single code line instead multiple code lines to obtain the same result;
  • Adding animated effects to elements;
  • Making XML (Ajax) requests;
  • Manipulating the DOM;
  • Creating image slideshows;
  • Making drop-down menu;
  • Creating drag-and-drop interfaces;
  • Adding power to forms.

Why do we have 2 version of jQuery - minified and uncompressed?

  • Booth of the version contain the same code lines;
  • The uncompressed version, has all the comments and other characters, making it easier to read and modify;
  • The minified version, has all the comments and characters removed, making it easier to store on your website and for visitors to download it.
1 Like
  1. jQuery is a useful set of pre-programmed functions which add common modern features to a website.

  2. These functions save us from having to program all of these features from scratch.

  3. There is a modifiable uncompressed version which we may want to use to see how things work exactly or make adjustments. The compressed version is smaller and faster to load.

1 Like
  1. The most popular JavaScript library in use today.
  2. Often with jQuery you can write a single line of code to achieve what would have taken 10-20 lines of regular JavaScript code.
  3. minified - smaller size but harder to navigate or read the code. It is often used because visitors download the file more quickly.
    uncompressed - bigger size including all comments regarding the code
1 Like
  1. jQuery is a library that makes it quicker and easier to build JavaScript webpages and web apps.
  2. it is great to manipulate the DOM, create animated effects, image slide shows, making XML requests, etc.
  3. Uncompressed is used for documentation and understanding purposes, the minified version is the one you should upload in your web server for clients to use.
1 Like
  1. What is jQuery?
    jQuery is a JavaScript code library that is free to use and is licensed under MIT and GPL licenses.

  2. How does it help us as developers?
    Through jQuery, you can link to code that other programmers have already written. You donā€™t need to reinvent the wheel for every bit of JavaScript functionality.

  3. Why do we have 2 version of jQuery - minified and uncompressed?
    Minified code has all unnecessary content removed- comments, whitespace, etc. Minifield code is about 1/6 the size of uncompressed code and allows a web page to load much faster.

1 Like
  1. jQuery is a free JavaScript library.
    With jQuery you can write powerful JavaScript apps using fewer lines of code.
    jQuery is great for things like animations, Ajax requests, DOM manipulation, image effects, and user interface elements.
    jQuery lets you easily write cross-browser JavaScript code.
  2. Itā€™s all about time management. As an developer you can write your own code but it takes time to write, why not use pre-written code which works on all browsers?
  3. The minified version is faster in use of a website. The website will load quicker than the uncompressed version. However the uncompressed version is easy to read and to modify.
1 Like
  1. jQuery is a library which makes it easier and faster to write Javascript code
  2. jQuery helps developers to build common functionality with less code eg. Drop-down menus, Slideshows and Drag-and-drop tools
  3. Uncompressed version is used for reading documentation, minified version is made as light as possible for faster download
1 Like
  1. jQuery is the most popular library for JS.
  2. It helps developers to (1) add animated effects to elements including slideshows, (2) make XML/Ajax requests to obtain real-time data from server, (3) manage the DOM by adding, removing, and reordering content, (4) make drop down menus, (5) use drag-and-drop functionality, (6) add power to forms referring to client-side form validation and Ajax requests on the server-side and (7) help manage browser compatibility issues.
  3. Minified jQuery comes at a fraction of the size (~23kb to ~160kb in uncompressed), but since it includes no white spaces, indentations, comments, etc. it is practically unreadable for humans.
1 Like

Iā€™m interested to know where you got your file size info from?
Is it a comparison between the minified and uncompressed versions, or a range for just the minified version?
If itā€™s a comparison, then the sizes look too small to me, but Iā€™m not a file size expert :wink:

1 Like

It was straight from the reading assignment from the course: https://www.elated.com/what-is-jquery/
though it does say itā€™s approximate to the time of writing. It was described as a comparison. Maybe it has changed a lot since

1 Like
  1. jQuery is a library of JavaScript that makes it quicker and easier to build webpages and web apps.
  2. With jQuery you can write a single line of code to achieve what would have taken 10-20 lines of regular JavaScript code.
  3. The uncompressed file is easy to read and modify, but itā€™s around 160kb in size. The minified file has all comments, whitespace, and other unnecessary characters removed from the file, squeezing the whole library into a mere 23kb.
1 Like
  1. What is jQuery?

JQuery is a library that makes it easier to write javascript code. In some cases you can write a single line of code and achieve what would have taken 20 lines before.

  1. How does it help us as developers?
    We can save time. No use reinventing the wheel, taking from others to complete your task is more efficient than starting from scratch. Also you can learn and innovate by seeing what is available.

  2. Why do we have 2 version of jQuery - minified and uncompressed?
    One is compressed for speed, other is not. They seem small from the article, but it makes a difference if you donā€™t have much space on your server.

1 Like
  1. What is jQuery?
    this is a free JavaScript library
  2. How does it help us as developers?
  1. Why do we have 2 version of jQuery - minified and uncompressed?
    much quicker for visitors to download
1 Like
  1. jQuery is an open source JavaScript library
  2. can help us easily find the source code that needed
  3. the minified are for visitors need for speed issues, while the uncompressed have bigger file sizes.
1 Like
  1. What is jQuery?
    Itā€™s a JS library. Libraries helps developers reuse code.
  2. How does it help us as developers?
    It makes it easier to build JS web pages and web apps. Using jQuery we reduce the amount of code it takes to build certain functionalities.
  3. Why do we have 2 version of jQuery - minified and uncompressed?
    The uncompressed version includes all the comments, whitespace and other unnecessary characters, which makes it easier to read and understand, but we use the minified version on web sites because itā€™s lightweight and less to download.
1 Like