Project Link: http://codepen.io/teknoformula/pen/Npgezr
I am trying to change the HTML of #weatherDisplay and #location to display their corresponding JSON key-value pairs.
For #weatherDisplay, I want to change the HTML to change to data2.main.temp.
For #location, I want to change the HTML to show the city name as captured by data2.name.
I have used the Document.getElementById( ).innerHTML method to try to select them, but they do not change.
Am I using the wrong method to make these changes?