fixed error
wrote html code to index