HW4 Part1 for index.html