University of Sydney_INFO1003_Foundamental of IT_2012 Semester 2
26/08/2012
My First JavaScript Consider the keyword alert: a standard JavaScript command that will cause an alert box to pop up on the screen.<html><head><title> My JavaScript Page</title><script> alert(“Greetings INFO 1003 Student!”);</script></head><body><h1> Your first JavaScript Program</h1></body></html>
Note: Always a good practice to put semicolon (;) at the end of each line.
7
8/28