Weather App example not working for me


#1

The example pen for the “Show the Local Weather” project (https://codepen.io/freeCodeCamp/full/bELRjV) doesn’t seem to be working on my computer. I see the header text which says “Free Code Camp Weather App”, but I don’t see any weather status or icon. I clicked on “Allow Location Access” when prompted, but still nothing. Is there something I’m doing wrong, or is this a problem on Codepen’s end?


#2

Looks like this is a problem on the Firefox’s end (https://bugzilla.mozilla.org/show_bug.cgi?id=1233389).

Works in Chrome.


#3

The codepen link works for me. Not sure why it isn’t working for you. Maybe try closing and restarting your browser


Only html and css work for weather app example
#4

Bah! It’s definitely the browser’s geolocation that’s not working (not working for this site either: https://html5demos.com/geo/). Sadly, I can’t find chrome for my operating system (32-bit Lubuntu). Tried installing Chromium, but geolocation isn’t working in that browser either. Tried using http://ip-api.com as a workaround, but it’s not letting me do cross-domain JSON requests, and apparently ip-api is blocking CORS Anywhere (they apparently block any IP that makes more than 150 requests per-minute). Any ideas as far as how I can complete the “Show the Local Weather” project when technology is failing me like this?