Completed Free Code Camp’s Local Weather App

The “zipline” was pretty straight forward but it was a good introduction to using API’s. I struggled with connecting my code to the Open weather map‘s API but after figuring out which functional call to use it was pretty easy. One more thing I struggled with was that I expected some of the data to return as a single string but one of the items was actually an Object that I didn’t realize because the documentation didn’t say anything about it. When I saw what was happening I ended up using a for … in loop with a key and it worked out fine. Lastly, its not very pretty, I think I ended up with these colors because of Easter but here it is.

My weather app

My weather app with my code visible

Leave a Reply

Your email address will not be published. Required fields are marked *