Used source code from hw4 to skip ahead and complete index.html