Hello, in this jQuery video, I am going to show you how to set up jQuery on a Linux based machine such as you want to so couple of things you're gonna need access to either web browser, enable brother refine a little bit of code that I've already created, and I'm going to show you what it does in a second. And a text editor. I'm using sublime does my recommended one and this is our this to sublime. Okay, so let's take a look at what we already have in size. And what I'm actually going to do go to preferences settings and change the font size bit change like 20 No custom settings are here, my bad. Okay, so font, size, colon.
Okay, that is fine, it's gonna make it a little easier to read. So this to follow that we've got an index file. And this is the most basic index file you can think of. It's got the HTML doctype, HTML body head tag, which just has a link to an empty JavaScript just as the use strict tag. But apart from that, that's it. And I'm going to show you from this, how to set up jQuery.
Okay, so if we open up our browser once that launches up, literally just go to assertion, jQuery, and just go to jQuery console a few different ways that we can set it up. And let me show you how to download. From here, you can either download one of the falls on compressing and compressing, I'm actually gonna explain that in a separate video what all of that means they can even download the file and link it locally. You can either set it up using a package manager, such as yarn, or NPM. And the other route is to use a CDN, I'm going to use the CDN route which is a content delivery network, which just host the files and depending on what server that the nearest and can get you the file fastest to you. You'll use that server.
So just go to this link right here code jQuery COMM And then from here, select the latest version, which as of making this video is 3.3 point one Then you can either go for uncompressed, minified, slim or minified, Arnica for uncompressed sections, click which version you want. And then from here, just copy this little bit of code, Copy that, and go to your text editor. And now, just paste it here. It's important that you pasted before your general JavaScript because that's where you would be accessing all of this jQuery from. So just make sure it is just before the JavaScript file or any other script tags, generally speaking. So if I save that now, and I will open I will open this in a web browser.
If I forgot to desktop, jQuery, just double click this it should open up and it's opened up let's inspect the elemental inspector paid. Make sure they are no errors and why The character encoding of the HTML was not declared. Okay, that's nothing to do with the jQuery stuff that that does not matter. You can declare that if you want, but that has nothing to do with, you know what we want. And then we could, you know, go to inspector and see that it has the file right here. So that's all linked up now.
And this was just a quick setup video on how to set up jQuery on a Linux based machine. If you're interested on other systems, feel free to check take a look at those videos. I look forward to seeing you in the next jQuery video.