Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<script>
// Add your code below this line
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function(position) {
$("#data").html("latitude: " + position.coords.latitude + "<br>longitude: " + position.coords.longitude);
});
}
// Add your code above this line
</script>
<h4>You are here:</h4>
<div id="data">
</div>
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Challenge: Get Geolocation Data to Find A User’s GPS Coordinates
Link to the challenge: