How to get the user's current location on the browser using JavaScript
Originally posted here!
Photo by
Markus Spiske
To get the current location of the user you can use the geolocation API available in the navigator object in the browser global context.
Let's get the longitude and latitude of our user....
melvingeorge-me.hashnode.dev5 min read