CSCI 242 Homework 4


Use some elementary event handling and CSS.

Due dates

This assignment must be completed by 11:00 PM on Monday, 13 February.

The task

In the 31 January class we “studied” a CGI application that implemented the Name-Change-O-Chart, a renaming scheme from a novella.

Your assignment is to complete JavaScript-ify the CGI. The name transformation is accomplished by using the following three letters to index into a table.

We’re going to provide you a copy of this table as three JavaScript associative array definitions for use in your program. You should be able to include them in your program with the following HTML.

<script src=""></script>

For this homework, 20% of your grade will be based on a subjective measure of quality and creativy.

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