Introduction examples

This first example is the Hello World example. Hello.htm illustrates the use of the writeln() method to dynamically write HTML to a Web page.

See the example or view source.


Hello World Again is simply a demonstration of some of JavaScript's capabillities. However, this tutorial presents a better and more realistic example of JavaScript in use. Because the Hello World Again program uses many concepts that we haven't learned about, I've just included the example, and not the source. After a few lessons, however, you will be writing more advanced scripts than this.

See the example.