Guys help me with My weather app!

Guys help me with My weather app!
0.0 0

#1

Hello everyone i made my weather app. It was working two months ago. But when i saw it now, it is not working. please can u help me finding the error, as it can not detect the location and the weather automatically. Here is the link


#2

I haven’t gotten to the weather app section. but i took a look at the developers console. you seem to be having issues with your Ajax request.

XMLHttpRequest cannot load https://crossorigin.me/http://api.openweathermap.org/data/2.5/weather?q=lagos%20&units=metric&appid=a7cfaa7e3f452ac8a059ea17fd256b03.

You might want to check the button to ensure its properly wired but most importantly ensure the api you are using hasn’t been changed.


#3

I believe crossorigin.me is down.


#4

I just checked my Weather App which I made a month ago using https://cors-anywhere.herokuapp.com/ and my app doesn’t work either :scream_cat:


#5

Mine works: https://codepen.io/benjaminvanzwienen/full/aZzjPO


#6

I have my app on Codepen and on Github, on Codepen it doesn’t work, but on Github it does :sunglasses:


#7

You can use the following API for CORS, they provide secure https link: http://apixu.com/

My weather app is working :slight_smile:: https://codepen.io/N0M9D/full/VmmOaE/


#8

i checked ur code it’s working but the source https://cors-anywhere.herokuapp.com is not working with my app