Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Okay, let's begin by taking a look at how we download and install jQuery onto our computer so we can use it. So, here I am on the jquery.com website, and I am going to go over here to the big Download jQuery button and click on it. Now, there are two different versions of jQuery. There is the compressed production version, and then there is the uncompressed development version. Essentially what you do is you usually download both of these and you use the Development version while you're doing your development, and then when you're ready to upload your finished project to your web server, you use compressed production version.
And the reason you do that is because the compressed, production version is minified and compressed, and it's a lot faster to download to your user's computer than the uncompressed development version. The uncompressed development version is also a lot more readable, so if you're debugging, you can step through the code a lot easier. So, essentially what you do is you click on the link for the one you want to download. So for example, to download the compressed production one, I'll just simply click on this link. Now what might happen when you do this, is you might get a screen full of code like this depending on the browser that you are using, and the reason for this is because the browser doesn't recognize the .js file as something that needs to be downloaded.
So, same thing for other browsers. Let's go ahead over to Firefox to see the same thing. Okay, so here we are in Firefox. I am going to click Download, and I am going to click on production. You can see the same thing happened here. What happened was Firefox doesn't recognize the .js as something to download. So again, same story. Just simply right-click or if you're on a Mac you can Ctrl+Click and you get the same experience. All right! So now that we have got jQuery downloaded, we can move on and start coding.
Get unlimited access to all courses for just $25/month.Become a member