jQuery Introduction Getting Started Guide

jQuery is compact, expandable and rich JavaScript library used to insert tons of features without any limitation in HTML web page documents like handling animation and dealing with even more complex functionality related to UI also known as User Interface design. jQuery is supported by thousand of web browsers around the globe and at the moment it is also so much popular among web developers. So read all the jQuery Introduction below .

jQuery Introduction Getting Started Guide

What is the purpose of jQuery :-

The main purpose of jQuery is to reduce the code of JavaScript and make it extra small so developers can easily use it without facing any issue.

How to add jQuery to your Web Page – jQuery Introduction ?

There are two different method available for adding jQuery inside the web page.

  1. Download the library From jQuery.com .
  2. Insert the jQuery library from CDN ( Content delivery Network ).

1. Download the library From jQuery.com : This procedure is also called as manually adding jQuery library in your web page or website . In this method first we have to open the official jQuery website the download the current jQuery library which is 3.1.1 at the present date of 4th December 2016 . After download follow the below code to include the jQuery libary inside your webpage.
Code for Manually add jQuery in your webpage .

<html>

<head>

<script src="jquery-3.1.1.min.js"></script>

</head>

<body>

</body>

</html>

2. Insert the jQuery library from CDN ( Content delivery Network ) : This option is for all the users who dose not want to host the jQuery library on their web hosting server. You can use Google’s CDN to include this library .
Code for adding jQuery using Google CDN.

<html>

<head>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>

</head>

<body>

</body>

</html>

 

Leave a Reply

Your email address will not be published. Required fields are marked *