assignment 3 for IT238 (Interactive web scripting)