Javascript
JS intro
JS basics
JS variables
JS functions
JS popup boxes
JS conditional logic
JS loops
JS arrays
JS objects
JS strings
JS events
JS errors
JS DOM
JS elements
JS new windows
JS date and time
JS cookies
JS print
JS redirect
JS void 0
JS Summary

Programming

Programming intro
Java

Markup

First webpage guide
HTML
XHTML

Style & Layout

CSS

Browser scripting

VBScript
AJAX

Server scripting

PHP
ASP

Making money online

Make money online

Introduction to Javascript

So you want to learn Javascript? You may already know HTML or XHTML and you want to move on to something more interactive, or you may have heard about Javascript and are curious about it, or one of many other reasons. Whatever your reason(s) may be, Javascript is a great language to learn!

This lesson focuses on:

What you should already know

Before studying Javascript, you should already have at least a basic understanding of HTML and/or XHTML. Javascript scripts are placed on webpages with HTML/XHTML tags and without knowing these tags, you will not know where and how to place Javascript scripts on a webpage. If you need to study HTML, you can do so at our HTML section. If you need to study XHTML, you can do so at our XHTML section.

What is Javascript?

Javascript is a scripting language developed by Netscape used to provide dynamic and interactive content on webpages. It is one of the first scripting languages in existence and today is the most popular scripting language on the web. Javascript works in all modern web browsers including Firefox, Netscape, Opera, and Internet Explorer.

Javascript and Java

Javascript, Java, what's the difference? A major difference!!

There exists a common misconception that Javascript and Java are the same language. They are not. Javascript is a scripting language used to create dynamic and interactive content on webpages, while Java is a high level, object-oriented, platform independent programming language developed by Sun Microsystems. Java can be used to write software applications as well as applets that run in web pages.

What can be done with Javascript?

There is alot you can do with Javascript:

All this and much more can be done with Javascript!

Practice

Online code editor
Practical examples
Practical exercises
Step-by-step tutorials

Reference

Terms glossary
Reference material

Rate this site

Rate this site
Visitor comments