Please explain Geolocation API in Html 5 with the help of a code?

As I was not able to understood geolocation API in Html 5 on Solo Learn.Also I don't have enough knowledge of JavaScript.

24th May 2017, 2:49 PM
Prajwal Agarwal
Prajwal Agarwal - avatar
2 Answers
+ 8
you should run it through PC though, will not work on phone https://code.sololearn.com/WTOMV5z2pZ3x/?ref=app
24th May 2017, 3:46 PM
Nikolay Nachev
Nikolay Nachev - avatar
+ 1
Please check this little tutorial: https://www.w3schools.com/html/html5_geolocation.asp
24th May 2017, 2:54 PM