add coding to index.html