1. Write text with Java Script 2. Format with HTML tag 3. JavaScript in the head section 4. Javascript in the body section
5. An external JavaScript
6. Variables

This example declares a variable, assigns a value to it, and then displays the variable.

Then the variable is displayed one more time, only this time as a heading.

7. Function

By pressing the button, a function will be called. the function will alert a message.

1
Hosted by www.Geocities.ws