JavaScript at its core looks a lot like C++ or Java, but is generally simpler.

Special tags and event handlers distinguish JavaScript from the document layout language.

JavaScript provides for comments, but using them has its disadvantages.

JavaScript has a small but full-featured set of core data types.

JavaScript statements are simpler...usually.

JavaScript variables are very flexible, and can represent all of the above data types.

To work with JavaScript, no special tools are required, just a text editor to write scripts into a .html file (the source view of Dreamweaver can also be used), and a web browser to view the result.

  1. Write a JavaScript that outputs the string "Hello, World!" into a web page.
  2. Write a JavaScript that outputs the string "" into a web page (this is the Greek version of #1!)