Weather project help please

Weather project help please
0.0 0

#1

hi all,

Still having a lot of issues with my weather app. I am at the point where I am trying to understand the api request and I don’t think its working. please help. ignore the html button and words i have in there now, it was mainly when I was trying to test to see if the geolocation was working. below is my code on codepen. Thank you!


#2

Just realized I am getting a 404 status response from my api request…not sure why though.


#3

I would use Postman to test the API. I just called the weather in Houston, TX according to the documentation and it worked properly.

http://openweathermap.org/appid

Don’t forget to put your API key in the link.

Also, you may find it a bit easier IMO to use jQuery’s getJSON to make the api call, but it’s up to you.