Core 5 | Professor Dexter
JavaScript: Lesson 3
In this Lesson you'll do some exercises based on the lecture and readings
from class. First, Here is a working version of
the last example we talked about in class. Note how the form object is
used inside checkData() to access the information in the textbox.
Also note the use of == to see if two things are equal (and the
use of the empty string -- ""). Study this example carefully before
continuing on, being sure that you have a sense of how the function works,
how the if statement in particular works, and how the form object notation
works.
As before, you will submit your solutions using file upload, with
a similar naming system. Since this is Lesson 3, your files should be called
<lastname>3<exercise number>.html
So Al Gore would submit his solution to the 3rd exercise as gore33.html.
Exercise 1
Exercise 2
Exercise 3
Exercise 4