code written for the course Web Development on Udacity