Hi. I’ve built the Weather App with extended functionality - it also shows the forecast for tomorrow. Could you pls give me some feedback. I also have the following questions:
- You can mention that the background picture doesn’t fit fully into sections. How can I fix this?
- In Weather Underground API that I use exists an opportunity to use small grafic signs of weather (for example, for today it will be Object.current_observation.icon_url ). I wasn’t able to insert them like I did with text/numbers - using “document.getElementById(‘elementId’).innerHTML”. Is there a way to do it via innerHTML or other method(s)?
- I don’t like how my switch C/F button works. I’ve read about “toggle()” from jQuiery but wasn’t able to apply in to my project. Can you give me a hint on it?
- I’ve noticed that it takes some time to load the background images. Is there a way to speed them up?
My codepen:
See the Pen Local Weather App by Vasilii (@Vasilii1) on CodePen.