Show the Local Weather - Completed! Appreciate your feedback

Hi Guys,

I have completed the Local weather app challenge.
Please give me some feedback.
Really appreciate it. :slight_smile:
Feel free to borrow anything from my code. :wink:

Cheers!!! :beers:

1 Like
1 Like

I have a question. Why did you make it so that when I click on the toggle button to change from Celsius to Fahrenheit, that the background image changes, but if I click it again and anytime after the first click, the image remains the same? I am not sure I understand the point of changing it?

1 Like

Thanks lot for your feedback Vavin. :slight_smile:

Hi Randell. I actually wanted to make the image change according to the weather condition when the page load. However I could not manage to do it since getJSON is not ready when the page load. That is why I linked it to the toggle switch. Once the background is set, no need to change it until the weather condition remains the same.
I am still working on a method to change the background on the page load.

Great, job keep it up you definitely got what it takes.

1 Like

Thanks a lot for your encouraging words Toby! :slight_smile:

1 Like