0

Code playground does not support geolocation api ?

Trying to test different parts of my weather app . This piece of code works fine in my browser. But JS doesn't seem to work https://code.sololearn.com/Wc4Up8g7XyID/?ref=app Code playground does not suppoet geolocatiin api ?

25th Oct 2017, 3:20 PM
Kash
Kash - avatar
2 Answers
+ 3
Code Playground doesn't support most things. Best bet is to test it via however you normally do your developing. Long story short: Code Playground takes security/protecting its server/clients as top priority, so many things can't be allowed in Code Playground.
25th Oct 2017, 3:24 PM
AgentSmith
0
Worked fine here as well https://codepen.io/kashmirie/full/xXvVdd/ damn ! Thank you .
25th Oct 2017, 3:26 PM
Kash
Kash - avatar