Local Weather Challenge doesn't work for me (not even the example code)

I’m just wondering if anyone else has experienced this issue/what did you do to remedy it?

FYI, my browser (Chrome) is already set to allow location data.

There are several issues you might be facing with the weather app.

What have you tried?
What were you expecting?
What actually happened?

(Provide code you tried :slight_smile: )

Try switching your codepen url to https://

Chrome will not use geo-location without it.

You will probably find your API won’t work then though as it creates a cross origin issue with the free version of open weather. You can get round this by using a weather API that supports HTTPS for free. such as Apixu and many others i’m sure.

1 Like