Show the Local Weather - Completed! Appreciate your feedback

Show the Local Weather - Completed! Appreciate your feedback
0

#1

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:


#2

#3

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?


#4

Thanks lot for your feedback Vavin. :slight_smile:


#5

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.


#6

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


#7

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