This Geolocation project uses the browser's built-in navigator.geolocation API to access the user's current location and display their latitude and longitude.
navigator.geolocation
Make sure to allow location access when prompted.