HTML5 APPLICATIONS DEVELOPMENT MANUAL

(lu) #1

For the icon, on the api page at http://openweathermap.org/weather-


conditions we can find how to get the icon url.


The icons images are linked to an url, so to get them, we will select


the currentTemp and prepend the html we want (in this case the icon using


the img tag).


$('#currentTemp').prepend('<img src= >');
http://openweathermap.org/weather- - HTML5 APPLICATIONS DEVELOPMENT MANUAL - free download pdf - issuhub">
Free download pdf