How can I know the geographical location of my device(phone)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I know the geographical location of my device(phone)?

Using javascript or any other language, I don't know what code to use, help ?.

6th May 2020, 2:41 PM
Robert Kipkoech
Robert Kipkoech - avatar
1 Answer
+ 2
For websites, you need to use the HTML Geolocation API. Check out the link below: https://www.w3schools.com/html/html5_geolocation.asp
6th May 2020, 3:00 PM
Tony
Tony - avatar