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
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.
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
I have my app on Codepen and on Github, on Codepen it doesn’t work, but on Github it does
You can use the following API for CORS, they provide secure https link: http://apixu.com/
My weather app is working : https://codepen.io/N0M9D/full/VmmOaE/
i checked ur code it’s working but the source https://cors-anywhere.herokuapp.com is not working with my app