Hi, I just completed the Local Weather challenge. It took me a while, but I learned at ton along the way.
I’d love some help to finish polishing the project:
- The wind speed button only changes from mph to km/h once, and stays stuck there. I’ve used the same code than for the temperature button, which works fine to switch from C to F back and forth, without success.
- I can’t figure our how to use the CSS background-size: cover; property to have the background image take the full screen and not repeat. I haven’t been able to figure out how to style the background when the image is referenced in JS.
- I tried to keep the JS code clean, but I’m not yet familiar with the all the best practices, so any feedback on how the code is laid out or written would be greatly appreciated.
Thanks for checking it out!