Hello everyone,
I am running into an issue regarding the weather app challenge.
Everything is working fine, except for 1 thing!
When connecting to the API given by FCC (https://fcc-weather-api.glitch.me/api/current?lat=35&lon=100), I can’t show the weather using JQUERY for weather ID 802 from the API.
What I am doing is that I am using the data.weather[0].id from the API to display the right icon to show the weather. It seems to work fine for all of them (not that i have experienced all the weather yet), but with this one, it seems impossible to display anything, not even a simple HTML string.
The javascript code for this ID starts on line 67 on my Codepen.
Did anyone else had an issue with the ID 802 ?
Here is a link to my Codepen: https://codepen.io/nico3d911/pen/rJaEVo?editors=1000
Thanks for your help!
N.