Introduction to PHP Website Development

Previous: What is CSS?

What is jQuery

jQuery is a JavaScript library. That means, it is built using JavaScript, it accepts Javascript methods and functions. But, jQuery can do more in a single line of code than JavaScript can do in a whole function. This shortens development time and let's face it, makes our jobs easier.

#What does jQuery look like?

//code here

The above snippet responds to the onready event. As with JavaScript, jQuery can respond to browser and input-output events.

What would this snippet do?

alert('This is an alert');

Now, let's add some jQuery to your page You will need two things:

  1. jQuery from

After you install jQuery into your application, add the following:


Did the header 1 tag containing "Hello, World!" fade into the document?

Create your playground on
This playground was created on, our hands-on, knowledge-sharing platform for developers.
Go to