Get Geolocation Data, freeCodeCamp, JSON APIs and Ajax

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=dKePeb0w4ws



Duration: 2:31
799 views
7


In this javascript tutorial we look at making a get location request using navigator.geolocation. The user must hit allow in order for the function to run which will target an element on the page(the div element with id 'data') and update it's html to have the latitude and longitude.







Tags:
freecodecamp tutorial
geolocation
jquery
get geolocation
javascript geolocation