Learn web design and programming with our free video and text tutorials.

Javascript Tutorials

JavaScript is the most popular scripting language on the internet, and works in all major browsers.

Introduction to Javascript
Learn what javascript is and is not and also what javascript can do.

How To Enter Javascript Tutorials
Learn how to enter javascript statements directly into a web browser's url box.

How To Embed Javascript within an (X)HTML File
Learn how to embed javascript within an (X)HTML file.

How To Use External Javascript
Learn how to use external javascript to run the same javascript on several pages, allowing you to write the javascript once in an external file.

How To Add Comments to Javascript Code
Learn how to add comments to javascript code.

Javascript Variables Tutorial
Variables in javascript are like temporary holding containers that hold values or expressions. The purpose of a variable is to store information in it so that it can be used later.

Javascript Operators Tutorial
Javascript operators are most commonly used to assign values to variables, perform arithmetic operations, compare values and perform Boolean operations.

Javascript if, else if and else Statements
Javascript conditional statements allow you execute certain statements depending on if a condition is met.

Javascript Switch Statements Tutorial
The switch statement is used to select one many blocks of code to be executed.

Javascript Functions Tutorial
A javascript function is a block of code that will be executed by an event, or when the function is called.

Javascript for Loops Tutorial
In javascript there are two different kind of loops: for loops and while loops. Learn how to use for loops to execute the same block of code a specified number of times while a condition is true.

Javascript while Loop Tutorials
The while loop is used to execute a statement and to continue executing the statement while the specified condition is true.

Javascript break Loops Tutorial
Learn how to break out of an infinite loop with the use of the "break" keyword.

Javascript continue Loop Tutorial
Learn how to use the "continue" keyword to break the current loop and continue with the next value.

Javascript for in Statement Tutorial
Learn how to use the for...in statement to loop (iterate) through the elements of an array or through the properties of an object.

Javascript Popup Boxes Tutorial
JavaScript has three kind of popup boxes: Alert box, Confirm box, and Prompt box.

Javascript Try and Catch Tutorial
Javascript allows you to test a block of code for errors using the "try" and "catch" keywords.

Special Characters in Javascript
Javascript allows you to use special characters such as quotes, apostrophes and new lines to a text string by using the backslash (\) sign.

Javascript Objects Tutorial
Javascript is an object oriented programing (OOP) language. An OOP is a programing language that is organized around objects.

How To Validate Forms with Javascript
Learn how to validate forms with javascript.