Hey guys, I got to a point where I’ve hit all the checklist items for the Local Weather challenge and was wondering if anyone could take a look and give me any feedback. I’m mostly interested in how my code is structured. I definitely think I could do better, but I’d like to get some fresh eyes on it if someone has the time to take a look and give me some tips. Thanks in advance
Nice design. But I don’t think you need that button. You can call to the api periodically. And anyway the weather doesn’t change so often=)
Thanks for the response. Initially I was thinking about having it load the weather automatically. I’ll work on changing that. For some reason I’m thinking of an infinite loop but codepen usually complains when i do that. I must not be thinking in the right direction though to make it work like that. Thanks again.
try to use setinterval, but I am sure there are plenty of better solutions thatn I suggest. Any way you will learn a lot and it’s fun! Cheers!
Thanks again for the tip. I’ll give that a try.