In HTML5, the Geolocation API is used to obtain the user's geographical location. Since this can compromise user privacy, the option is not available unless the user approves it. Note:
Geolocation is much more accurate for devices with GPS, like smartphones
by Valeri Tandilashvili
4 years ago
JavaScript
2
Pro tip: use ```triple backticks around text``` to write in code fences