Weather App doesn't work until I click Btn

Hi, hoping for a little help with my weather app. When first loading the page the temperature and weather description don’t load. But then for some reasons when I click the “celsius/fahrenheit” button they pop up and it works fine. Here’s the link if anyone can take a look

That is because you have not called render inside the anonymous $.getJSON success function. You do call render inside the click event handler callback function for the anchor tag with id=“toggle”, which is also inside the $.getJSON success function.

Actually, you have the render call commented out for some reason.


Hey thanks again. Not sure why I had those commented out lol