I'm having and issue with my weather machine that has had be scratching my head for some time. My geolocation is fine and my API returns the requested info fine, but I just can't figure out how to properly access the data and display it
Anyone think they can help out?
@AidenMead I'm not sure but can you put a link to your app here or show us your code?
@djangoearnhardt One thing I noticed is that you're calling jd.temp, and I think you need jd.main.temp. This page really helped me. https://openweathermap.org/current#current_JSON It took forever to figure out what I was looking at, but when I did, I was able to make everything work.
@mfukano Works for me. ;)
@TheTessaMurphy ahhh, i think i’ve updated the locations for my requests… and it won’t load into my <span>’s. i haven’t used .on(“load”) before, but I thought it was set up to work
@djangoearnhardt How come you're using onload instead of document.read?