CSCI 242 Homework 8


Use the HTML5 canvs with a nice form-based user interface.

Due dates

This assignment must be completed by 11:00 PM on Wednesday, 28 March.

The task

Start by taking a look at yet another ancient CGI script.

Try creating a similar, but more interesting, web page using <canvas>, <form>. and some interesting select button.

Normally, the width of the HTML5 canvas is set by the HTML <canvas> tag. For that reason, I think it would be best to have the user select the number of squares in the checkerboard, rather than the size of each square. However, you could modify the width field of the <canvas> tag with JavaScript code if you wish.

Store your page so it can be accessed by the following URL.