jQuery Reading Assignment

  1. 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.

  1. 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.

  1. 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.

  1. What is jQuery?
    jQuery is a library that makes it quicker and easier to build JavaScript webpages and web apps. Often with jQuery you can write a single line of code to achieve what would have taken 10-20 lines of regular JavaScript code. jQuery is itself written in JavaScript, and comes in the form of a single .js file that you link to from your webpage. Your JavaScript code then accesses the library by calling various jQuery functions.

  2. How does it help us as developers?

  • Making XML (Ajax) requests. These use JavaScript to request additional data from the Web server without having to reload the page.
  • Manipulating the DOM. You can easily add, remove, and reorder content in the Web page using just a couple of lines of code.
  • Creating image slideshows. You can use jQuery effects to build nice animated slideshows and lightboxes.
  • Making drop-down menus. jQuery makes it easy to create multi-level dropdowns with animations.
  • Creating drag-and-drop interfaces. Use jQuery to build a page with elements that can be repositioned or reordered simply by dragging and dropping.
  • Adding power to forms. With jQuery you can easily add complex client-side form validation, create auto-complete Ajax text fields that pull data from a server-side database, and so on.
  1. Why do we have 2 version of jQuery - minified and uncompressed?
    Due to file size, the minified is much smaller than the uncompressed(approx. 23kb vs. 160kb) and downloads quicker for visitors.
1 Like
  1. jQuery is a library in which developers can access code way easier and faster.

  2. jQuery is free to download and use so thats a plus! And it includes various ways to write code, so why would you try to re-write code that someone already did for you.

  3. jQuery has 2 versions, minified and uncompressed. Uncompressed its a big file, 160kb, easy to read and modify. Minified is a smaller file, 23kb, not so easy to read and modify, but due to its size is very fast to download.

Very detailed answer for the second question. Thanks. ++

What is jQuery? JQ is a library for javascript

How does it help us as developers? Its allow to build webpages and web apps using less code. It is also doing the cross-browser work for you in most case.

Why do we have 2 version of jQuery - minified and uncompressed? One is the original file and is heavier but easier to read and the other one is a compressed and lighter version that is faster to download.

  1. What is jQuery?

jQuery is a free javascript library of prewritten code we can use on our webpage to make it more interactive and with much less effort and shorter code than regular javascript code.

  1. How does it help us as developers?

Requires less coding. It will take up less space and execute faster, also allow us to easily build interactive sliders, drop-down menus, apps etc. without getting grey hairs.

  1. Why do we have 2 version of jQuery - minified and uncompressed?strong text

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 because it`s smaller sized code and runs faster.

  1. jQuery is a library for javascript.
  2. It saves us time. Instead of writing code yourself you can copy it.
  3. So uncompressed version is if you want to check the way it has been written with all the comments, spaces etc and minified - is what you want to add to your code, because it is shorter.
  1. What is jQuery?
    -It is library that make it more efficient to build JavaScript web pages and applications. Its used by biggest corporations in the world.
  2. How does it help us as developers?
    -We can write apps with less code and it allows us to do cross-browser Javascript code.
  3. Why do we have 2 version of jQuery - minified and uncompressed?
    uncompressed is larger file but easy to read. Minified is way smaller file but hard to read. Minified is favorable to use since its size so your web page loads faster for visitors.
  1. jQuery is a javascript library of pre written code that developers can call to use in web sites and other applications.
  2. It helps us as developers by saving time and keeping the lines of coding as concise as possible.
  3. Uncompressed are easier to make changes to, and compressed use less data when being loaded by a user.
  1. JQuery is a library to reuse JS functionality
  2. exixting functionality can be reused. JQuery makes js compatible to different browser
  3. the minified version reduces the loading time of the website. The uncoompressed version makes it readabel e.g. to modify the file

What is jQuery?
“jQuery is a free JavaScript library.”

How does it help us as developers?
“jQuery is a library that makes it quicker and easier to build JavaScript webpages and web apps.” Also it helps developers to make their webpages cross platform (multi-browser).

Why do we have 2 version of jQuery - minified and uncompressed?
Uncompressed for reviewing and editing the code. Minified for production (to increase speed by reducing size).

  1. *What is jQuery? A JavaScript library
  2. *How does it help us as developers? It makes the process of creating powerful JavaScript websites quicker and easier with fewer lines of code.
  3. *Why do we have 2 version of jQuery - minified and uncompressed? Uncompressed is to be used for development as it contains all the comments (useful for debug) while the minified is for deployment; much lighter in size and faster to download.
  1. The biggest javascript library.
  2. It helps us add complex functionality from code which has been previously written by someone else. It saves us reinventing the wheel.
  3. Minified is a smaller file, quicker to load, so it’s better for web apps etc. It has all white space, comments etc removed. Uncompressed is easier for us to work with but is a bigger file.

1.jQuery is a reference library which is attached to the file or code we are working on and is a compressed version of JavaScript

2 jQuery assists program writers due to its higher functionality than just JavaScript almost like a turbo supercharge

3.The two versions are jQuery uncompressed .js is easier to use as a program but take up more memory and jQuery minified .js less visually clear, but quick to load for the user of the site

  1. jQuery is JavaScript code library to write powerful JavaScript apps using fewer lines of code.
  2. Easy to implement UI design and cross browser code so a developer can focus on his actual task.
  3. One to implement (minified 23kb) and one to understand what’s happening (reference), because the uncompressed version is easier to read.
  1. jQuery is a library that makes it quicker and easier to build JavaScript webpages and web apps
  2. with jQuery you can write powerful JavaScript apps using fewer lines of code
  1. What is jQuery?
    jQuery is a popular javascript library that wraps and provides an interface many useful functions.

  2. How does it help us as developers?
    It exposes many popular and reusable functions to enable developers to create web pages
    more quickly and easily. Some of the built-in functionality it provides includes
    animated effects for elements; Ajax requests; and manipulating the DOM.

  3. Why do we have 2 version of jQuery - minified and uncompressed?
    The uncompressed version has the original human readable structure and is about 160kb in
    size. The minified version has all the comments, whitespaces and other unnecessary
    characters removed in order to reduce its size to 23kb. Although this makes it difficult
    to read, it does make it quicker to download.

  1. ***What is jQuery? jQuery is a library that makes it quicker and easier to build JavaScript webpages and web apps.
  2. ***How does it help us as developers? You can write a single line of code to achieve what would have taken 10-20 lines of regular JavaScript code.
  3. ***Why do we have 2 version of jQuery - minified and uncompressed? Minified is code without all of the comments white spaces and unnecessary characters. (23kb). Uncompressed is easy to read and modify but the size is around 160kb

(1) jQuery is a JavaScript library. It is a single .js file that developers can link to in their program, and which contains ready-made functions. Developers can then invoke these functions within their program code in order to build dynamic and interactive websites and web apps with powerful functionality.

(2) jQuery enables developers to write complex code more quickly, easily and succinctly. It also deals with browser incompatibility issues so that developers don’t have to concern themselves with this.

In terms of building a dynamic and interactive experience for the user, jQuery also helps developers to:

  • manipulate the DOM;
  • animate elements by fading or sliding them in/out, or by expanding/contracting them;
  • implement drag-and-drop functionality for re-ordering and moving elements;
  • implement client-side form validation;
  • make Ajax requests for additional data from the server, without the web page having to be reloaded e.g. autocompletion of forms;
  • create high-quality slideshows and dropdown menus.

(3) The uncompressed version of jQuery is for use during development, because it includes comments, and is easier to read and modify.
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 it can be downloaded much more quickly by the user.

  1. What is jQuery?
    jQuery is a JavaScript library

  2. How does it help us as developers?
    jQuery provides alternative syntax and built in functions that are very easy to use.

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

Uncompressed is designed to be human readable. Minified is designed for browser performance removing unnecessary characters.