jQuery Introduction

jQuery Introduction

What you should know before learning jQuery ?

Before learning jquery you should know basics of :

  • -  HTML
  • -  CSS
  • -  Javascript

You can study these subjects from codeplannet.com simply click here to learn these courses.

What is jQuery ?

jQuery is a javascript library, in this you will get too many javascript ready made functions, and you will be able to use thoes functions by attaching jQuery file in your webpages.

jQuery moto is write less , do more.

The purpose of jQuery is to make it much easier to use JavaScript on your website.

jQuery takes a lot of common tasks that require many lines of JavaScript code to accomplish, and wraps them into methods that you can call with a single line of code.

jQuery also simplifies a lot of the complicated things from JavaScript, like AJAX calls and DOM manipulation.

The jQuery library contains the following features:

  • -  HTML / DOM Manipulation
  • -  CSS Manipulation
  • -  HTML events methods
  • -  Effects and animations
  • -  AJAX

How to add jQuery in our web pages?

There are multiple ways by which we can link jQuery in our web page.

  • You can download jQuery library from jQuery.com
  • jQuery can also be added through the cdn,like Goolge or Microsoft

Download jQuery

Two versions of jQuery are available for downloading

  • Production version:This version is compressed and mostly used in live websites because it covers less space.
  • Development version:This version is mostly used at testing or development phase it is unminified and readable.

All versions are available to download at jQuery offical site jQuery.com.

It is a single javascript file and we can add it in <script> tag . In this case <script> tag should be kept inside the <head> tag.

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

Note: You must place the jQuery library at the location to which src attribute is set.

You can also add type="text/javascript" attribute but it is not required in HTML 5.

jQuery CDN:

You can also link jQuery library from CDN(Content Delievery Network).It would save you from downloading and hosting jQuery library.

Both Google and Microsoft have hosted the jQuery library you can use any link.

Google CDN:

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

Microsoft CDN:

<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.4.1.min.js"></script>

Using CDN instead of self hosted jQuery file has some pros.

Mostly CDN is used for linking jQuery therfore, there is a wider chance that this file is stored in the cache memory of the viwer's browser. In this case your library will load speddily and increases the speed of your web page.

Our Services

Below is the list of other services that we are providing to our valuable customers.

If you want to Grab any of our Service you can contact us on given contacts

  • Website Development
  • Software Development
  • Android Apps Development
  • Hosting + Domain
  • Search Engine Marketing (SEM)
  • Search Engine Optimization (SEO)
  • Social Media Marketing (SMM)
  • SMS Marketing
  • Email Marketing
  • Wordpress Development
  • PHP Open Cart Development
  • Digital Media Marketing
  • Digital Brand Promotion
  • Graphic Designing
  • Video Animation