jquery is a JavaScript library which contains pre-built JavaScript code used for easy manipulation of your webpage. This manipulation can include animations, event handling, games and dynamic styling.

jquery is also cross browser which makes usability easy.

It is advised to put the JavaScript below the HTML element to be manipulated to ensure that the JavaScript knows what is to be changed. Otherwise the JavaScript might not know the element as the element was loaded after it.

Variables are distinguished in JavaScript with:

var myVariable;

Like most programming languages a semicolon is required to end statements.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s