Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

JavaScript Basics -Start From Here

Share this post!
 Vote this!

Javascript – An introduction

Javascript is used to add interactivity and functionality to a site. It has many uses, from detecting the viewers web browser to validating form input.

It is compatible with all major web browsers, and is relatively easy to learn. This makes it one of(if not) the most popular scripting language on the internet.

In other words, if you are are web developer(or aim to be) it is in your best interest to start learning Javascript now!

Javascript – Where to write your code.

First of all, there are two ways to write your Javascript code. Lets have a look at these options.

The first is by embedding the code in your HTML document. We do this by using the opening and closing script tags, defining the script type & typing our code.

Javascript – Variables

In programming a variable is used to store some form of data. We can assign a name to a variable and then assign a value to it.

A variable can have the following values assigned to it:

Javascript – Operators

Javascript operators can be used to perform arithmatic operations on a variable. They are also used to assign values to variables.

Operators which are used for arithmatic purposes are named, quite appropriately, arithmatic operators.


0 comments:

Post a Comment