JavaScript Assignment #1
"Hello World" Alert Message
Create a basic "Hello World" script - the simplest, most basic script that you can create in JavaScript, or any programming language.
- Create a basic, empty web page using only html code (see an example).
- Insert a set of <script> tags between the <body> tags.
- Add alert("Hello World!") between the <script> tags.
The page should be completely empty except for the <doctype> <html>, <head>, <title>, and <body> tags that are necessary to make a valid html document.
Final result: "Hello World!" should immediately display in an alert message when the page loads.
Next assignment ... Assignment #2