Using JavaScript Objects
Using the document object
see p. 17
Assignment:
Write a JavaScript to prompt for the user's name and print a
customized greeting.
Using the window object
see p. 74
Using the navigator object
see p. 19 and 18
Assignment:
Write a JavaScript that checks the users browser and redirects them to
different pages, depending on which browser they have. You will need to
write 3 pages - the original one and the 2 custom ones.
Using the date object
see p. 90-100
Assignment:
Add an alert dialog box that tells the user the time, after
giving you their name.