From the course: jQuery for Web Designers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

How to install jQuery

How to install jQuery - jQuery Tutorial

From the course: jQuery for Web Designers

Start my 1-month free trial

How to install jQuery

- [Voiceover] If your project doesn't already have jQuery installed, you'll need to do that before you can use it. In this video, we'll see how that works. Now as with any JavaScript library, to install jQuery, all you're really doing is adding a script tag to an HTML file. But there are different approaches that you can take with that script tag. The first is to call jQuery directly from a CDN, that is, a content delivery network. This has the benefit of loading a file from a separate web server from your own so it can download faster. And then you have the additional benefit that jQuery might be cached from a previous website that loaded jQuery from the same CDN that your site uses, pretty handy. You can also install your own copy from your own server. One nice thing about this when you're working on your website locally, that is, on your own computer, is that it can work with no internet connection. Now the best is to use both of these at the same time, and that's what we're going…

Contents