provided solution to homework 3 of udacity's web development course