jQuery Reading Assignment

jquery is a library of code I can implement in my Javascript. The library allows to use basically one line of code instead of 70, 80 or more.
Jquery helps at the end of the day to code less and do more - also to leverage on existing knowledge, so I dont have to reinvent the wheel.

The 2 versions of the Jquery differentiate in size and readibility. Uncompressed: up to 160 kb in size, but good readability for the reader.
Minified - much smaller, about 23kb, but all whitespaces have been removed so readibility is bad.

2 Likes
  1. It is the most popular free JS library in use today. It makes it quicker to build JS webpages and apps, and it come in the form of single.js file.

  2. By making it easier to write powerful js apps and create great looking animated effects.

  3. Uncompressed it’s easier to read and modify, but it is around 160Kb in size.
    Minified instead has all unnecessary characters removed, squeezing the whole library into 23Kb
    and it is much quicker for visitors to download.

2 Likes
  1. What is jQuery?
    jQuery is a javascript library that enables developers to write code more efficiently.

  2. How does it help us as developers?
    It helps developers by offering shortcuts to long lines of code that are wrapped in usable functions.

  3. Why do we have 2 version of jQuery - minified and uncompressed?
    The minified or compressed version of jQuery eliminates all the white space, comments, and all unnecessary characters to reduce it’s size making it quicker to load. The uncompressed version makes it possible to see all the code and therefore easier for a developer to be able to read.

2 Likes

1. What is jQuery?
The purpose of jQuery is to make it much easier to use JavaScript in your application. It is a lightweight, “write less, do more”, JavaScript library.

2. How does it help us as developers?
jQuery takes a lot of common tasks that require many lines of JavaScript code to accomplish, and wraps them into methods that you can call with a single line of code. It also simplifies a lot of the complicated things from JavaScript, like AJAX calls and DOM manipulation.

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

  • Production version:
    This is for your live website because it has been minified and compressed

  • Development version:
    This is for testing and development (uncompressed and readable code). When ready to deploy your application and push it to production you use the production version.

2 Likes
  1. jQuery is a layer of abstraction on JS that gives Devs libraries of previously made JS code to help speed up the building process.
  2. jQuery is a time saver for making websites.
  3. Minified will load faster then the uncompressed library.
1 Like

Read the following article about jQuery (https://www.elated.com/articles/what-is-jquery/).

Try to answer the questions below while reading.

  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? | jQuery is extremely useful to developers as they no longer have to write everything themselves for their project, they can simply use jQuery and build on it.

  3. Why do we have 2 version of jQuery - minified and uncompressed? | We have the uncompressed version so that we can easily read the code and understand what it does, while we have the minified version to actually use in our website because the user can load it far faster.

1 Like
  1. jQuery is a library of code written in JavaScript that makes it quicker and easier to build webpages and web apps. It 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. jQuery makes it easy to write JavaScript that works seamlessly on many different browsers.

  3. The uncompressed version of jQuery is easy to read and modify, but large in size and therefore takes longer for an end user to download to a webpage. The minified version has all non code elements removed so that it is only 23kb providing a faster download.

1 Like
  1. What is jQuery?
    A. 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?
    A. 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.

  3. Why do we have 2 version of jQuery - minified and uncompressed?
    A. The uncompressed .js file is easy to read and modify, but it’s around 160kb in size. The minified .js file has all comments, whitespace, and other unnecessary characters removed from the file, squeezing the whole library into a mere 23kb

1 Like
  1. A JavaScript library we can call upon
  2. jQuery is full of pre written functions that we can easily use and it is a cross-browser JavaScript code.
  3. The uncompressed version comes with notes making it easier for us to understand when reading it. The minified has the notes removed so it doesn’t take up any unnecessary space when using it.
1 Like
  1. jQuery is a library that makes it quicker and easier to build JavaScript webpages and web apps.
  2. By allow developers to write powerful JavaScript apps using fewer lines of code.
  3. Minified version removes all whitespace so it smaller in size but it harder to be read. Uncompressed version is more readable but larger in size.
1 Like
  1. What is jQuery?
    It is a free library of JavaScripts
  2. How does it help us as developers?
    You just use the library insteead of writing your own codes
  3. Why do we have 2 version of jQuery - minified and uncompressed?
    Minified is without all unnessecary components. It is smaller but your canot modify it. Uncomperssed version has 5x bigger size but you can see all commments/whitespace
1 Like

1. What is jQuery?
It is a public library of javascript to handle common items on a webpage.

2. How does it help us as developers?
Rather than recreating code that most websites contain, this library has javascript which you can just plug in and reuse. The benefit is jQuery creates the code, you just call for it meaning less lines of code to write.

3. Why do we have 2 version of jQuery - minified and uncompressed?
Uncompressed is the full file with notes. The minified is a smaller version which strips out some of the unneccessary notes…as a developer we will want to plug into the minified version.

1 Like
  1. What is jQuery?
    A free JavaScript based library.
  2. How does it help us as developers?
    It lets us write less lines of code to achieve the same effect as many more lines of code. Saves time, space, and can likely help decrease complexity.
  3. Why do we have 2 version of jQuery - minified and uncompressed?
    The minified version is small and quicker, but harder to read. The uncompressed version is bigger and easier to modify, as well as being easier to read.
1 Like
  1. It’s a javascript library with numerous functions to help developers build web pages and web apps.

  2. It allows developers to integrate animation effects to elements, make XML requests, manipulating DOM, create slideshows, make drop-down menus, create drag-and-drop interfaces, etc.

  3. The minified version has comments and indentions removed which makes it faster to load when visiting the web page. The uncompressed version is dedicated more towards developers in order to see the functions.

1 Like

Q: What is jQuery?
A: The most popular JavaScript library used by even big companies like Microsoft, Twitter, etc.
Q: How does it help us as developers?
A: It makes it easier and quicker to code. You can write a code written in multiple lines in just one single line.
Q: Why do we have 2 version of jQuery - minified and uncompressed?
A: Uncompressed - easy to read and modify, but 160kb in size.
Minified - it has all the code including comments and other squeezed in 23kb, even though it is not easy to read sometimes.

1 Like
  1. Author said that “jQuery is a library that makes it quicker and easier to build JavaScript webpages and web app”.

  2. It helps to write powerful JavaScript apps using fewer lines of code. To Make it easier.

  3. Are tow version for twi kind of users: Uncompressed is for developers and minified is for common usage.

1 Like
  1. What is jQuery?
    • jQuery is a free JavaScript library.
  1. How does it help us as developers?
    • With jQuery you can write powerful JavaScript apps using fewer lines of code and is great for things like animations, Ajax requests, DOM manipulation, image effects, and user interface elements. In addition, jQuery lets you easily write cross-browser JavaScript code.
  1. Why do we have 2 versions of jQuery - minified and uncompressed?
  • Uncompressed is easy to read and modify for developers and Minified is what you’ll want to place on your website because it’s much faster for visitors to download.
1 Like
  1. jQuery is a library that makes it quicker and easier to build JavaScript webpages and web apps.
  2. jQuery helps developers in various ways:
    It allows you to achieve with one line of code what you would achieve with 10-20 lines of regular JavaScript code.
    It allows you to simply create eye-catching animated effects.
    It is also useful for writing code that works on several different browsers. In fact, just call a jQuery function and jQuery itself will take care of making it compatible with different browsers.
  3. Two different forms of jQuery are used because one makes the code easier to read, but has a higher size.
    While the minified form removes all unnecessary elements of the code that are useless during execution, this reduces the size of the file and makes loading faster.
1 Like
  1. What is jQuery?
    jQuery is a JavaScript library, essential a repository of pre-written code for us to call on.

  2. How does it help us as developers?
    It helps as it contain pre-written code that we can utilise, and therefore save on time and effort writing our own solution.

  3. Why do we have 2 version of jQuery - minified and uncompressed?
    Uncompressed is nicely formatted and easy to read, howevver is 160kb.

Minified has all spaces removed, and is therefore hard to read, however takes less space than the uncompressed version.

1 Like
  1. What is jQuery?
    A JavaScript library that makes it quicker and easier to build webpages and web apps.

  2. How does it help us as developers?
    It is pre-written JavaScript code that allows uses to save time when building web apps. It can be used for multiple things.

  3. Why do we have 2 version of jQuery - minified and uncompressed?
    The minified version is the one that should be used for websites as it has all of the unnecessary elements removed which makes it much quicker for users to use. The uncompressed version is easier to read and modify but it is a larger file.

1 Like