Weathe app doesn't work on codepen

Weathe app doesn't work on codepen
0

#1

Heelo everyone,
i have some issues with my app on codepen it dosn’t work there but it work nicely in localhost, i have changed https to http but still not working.
this is link to my codepen account.
thx for helpping me to find the bug


#2

Works for me but check the browser console.


You are requesting images over http.


#3

thanks for replaying i had solved this problem i just added https://cors-anywhere.herokuapp.com/ to my url


#4

ive been having similar problem what do i need to do with this link???


#5

Just add it in front of the url of the api you are using.
e.g. https://cors-anywhere.herokuapp.com/http://api-that-does-not-have-ssl/


#6

i can only get through to the weather api from codepen debugger. i even tried hosting the page on git pages to no avail. i do not understand. ill give this a shot though.