Assignment 3 for webdev course