Add weather display function in index.html.