Submit the following folders in a ZIP file named <9-digit ID #>_me4.zip (e.g. 201123456_me4.zip)

1. htmltest

Create a page with 2 columns. The column to the left contains a textarea with a submit button, while the column to the right is a box containing the corresponding page formed by the content of the textarea. This will be similar to http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic, without the enclosing html and body tags in the input. (Use POST method)

2. calendar

Create a website with a dropdown to select the month and a textbox to input the year. When the user submits, generate the corresponding calendar for the month and year provided. (Use Get method)

The formula to compute the day of the week for the given date is provided below

int dayofweek(int y, int m, int d)	/* 0 = Sunday */
{
	static int t[] = {0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4};
	y -= m < 3;
	return (y + y/4 - y/100 + y/400 + t[m-1] + d) % 7;
}

Function obtained from http://c-faq.com/misc/zeller.html

3. robotget

Create a website with 3 textboxes for eye color, body color and hand color. Submit the fields using GET and display the a robot similar to the one below using the colors provided by the user (use HTML compliant colors as input).

4. robotpost

Same as robot_get except using the POST method.