Help me with Weather App please

longitude & latitude are not placed within the link of JSON

Are you using Chrome? getCurrentPosition() (and watchPosition()) no longer work in Chrome when made from insecure (non-https) sites (you can view the error that happens when you try to use those in Chrome, right-click on your pen and click Inspect. You’ll see the errors in the Console at the bottom). To fix this, add https:// to the front of your pen’s url. I did just now and it worked a treat.

1 Like

hey, thanks. That problem has been solved now.