JavaScript Tutorial - 8

Just for fun! ... from an idea by John Rogers
your name please:
grade this tutorial from 1 to 10:

Try pressing "ready" without entering a name.
Try entering a number bigger than 10.
It's the little extras that take all the time - don't forget this if you try the challenge.

So all we have left is the popup window. Here is the JavaScript to create a new window and, if you click on it, I'll tell you all about it:

   var win=window.open("","","width=450,height=180")

Task 22: A button which produces a popup window saying "Hello World!". Check.

Task 23: Improve the look of the popup window in Task 22. Check.

Task 24: Same as Task 21 but the message is to appear in a popup window instead of an alert box. Check.

Challenge 8: Create your own version of the fun form at the top. Maybe you can come up with a different idea.

HOME Table of Contents Previous Next