# COMP 313 Lab 4

Points: **30** Due Date: **Thursday May 5, 2005**
This involves practice with JavaScript.

You will create a form on the page that has three text fields.
The first one will ask for the length of the side of a square.
The second will ask for height of a rectangle.
The third will ask for the width of that rectangle.

Your program will then calculate the area of the square and the area of the rectangle.
You will determine which is bigger and use the alert() function to tell the
user your decision.
You must also decide what to do if they are the same size.
Here is a screen shot of my solution.

## Deliverables:

You can email me the page or use the eCollege drop box.

## Notes

**ASK** if you have any questions.