hw4 part 1. updated index.html