Please note - all script results will be this color

Task 1:

Create a form which gathers user input and invokes a function which demonstrates the use of each of the three logical operators (&& || and !):

My function will decide if you are older than me or younger than me.

What year were you born?


Task 2:

My array consists of

  1. Sushi
  2. Tex-Mex
  3. Italian
  4. Thai
  5. Surf and Turf


Task 3:

Use the faith code to fill array elements with user input and then display the number of elements in the array. To end the program, the user must leave the input box empty and click the button one final time. Because there is nothing in the entry box, the function displays the number of elements in the array and the array contents in the second box.

Your assignment is to write a similar function that does the same thing.


Oooohhhhh - look at the pretty lights!!!

HELP! -- I need ideas for types of cookies to make for Christmas!!!

Please tell me your favorite type of cookie - type the name into the box and click the button.

You may do this as many times as you like.

When you are finished, please clear the box and click the button one final time.

This is how many types of cookies you have submitted.

Mmmmmmmm - Milk and cookies!!!

Bonus Task:

Create a guessing game. You could use your Task 3 code for this, combine the Task 2 and Task 3 codes, or write something completely new.

What month do you think my birthday is in?