Adding code to index.html