Here are the examples for Chapter 11, which introduces JavaScript.
ch11_eg01.html | A first JavaScript using the document.write() method |
ch11_eg02.html | Try It Out - Text from an external file |
ch11_eg03.html | Accessing form data |
ch11_eg04.html | Changing information on the page (a simple image rollover) |
ch11_eg05.html | Calling a function (to calculate the area of a rectangle) |
ch11_eg06.html | If conditional statement (only says Good Morning if the clock on your computer is before 12 am - otherwise blank). |
ch11_eg07.html | If Else conditional statement If (Good morning or Good afternoon) |
ch11_eg08.html | Switch conditional statement |
ch11_eg09.html | While Loop |
ch11_eg10.html | Do While Loop |
ch11_eg11.html | For Loop |
ch11_eg12.html | The break statement |
ch11_eg13.html | String object - big() method and length property |
ch11_eg14.html | Making a substring uppercase |
ch11_eg15.html | Date object (days of the year left) |
ch11_eg16.html | Math object |
ch11_eg17.html | Array object |
ch11_eg18.html | Window object |
Exercise 1 | 5 times table |
Exercise 2 | Time of day |