JQuery Overview

What you'll learn

  • how to add JQuery to your website
  • types of functionalities provided by JQuery

Adding JQuery

There are few ways to add JQuery to your website, as described by JQuery's installation guide.

We will use the simplest way: adding a script tag to JQuery's CDN.

At the end of your HTML body tag, add the following script tag:

html
<!DOCTYPE html>
<html>
<head>
<!-- your header tags -->
</head>
<body>
<!-- content -->
<script src="https://code.jquery.com/jquery-1.12.4.js" />

</body>
</html>

The script will expose to global variables: JQuery and $.

Issue on this page? Report here