Javascript Tutorial

Javascript Introduction
Javascript is a scripting language designed to extend the functionality of web pages. Typically written as part of an HTML document a script controls the elements of the page and reacts to user actions. Javascript uses simple commands which manipulate the parts of a web page. We will discuss and introduce you to the various components used in javascript such as variables, statements, if then else logic, loops, objects and functions.

Javascript code is placed in your HTML source code between the <head> and </head> tags of your HTML document. The block of Javascript code is surrounded by the <script> and </script> tags. Multiple blocks of Javascript code are allowed in a single HTML document as long as each individual block of code is surrounded by the <script> and </script> tags.



Intro        Variables        Statements        If then else

Loops        Objects        Functions


Home   |   Business Directory   |   Festivals & Fairs (USA)