r/learnjavascript • helpful • Dec 25 '20

Getting the user's location with JavaScript (Geolocation API tutorial)

https://www.youtube.com/watch?v=JdJ2VBbYYTQ
126 Upvotes

6 comments sorted by

3

u/nickdrake47 Dec 25 '20

Looks interesting, i have to implement user location tracker on my project and i think this should be useful. Thank u

1

u/denvercoder1 helpful Dec 25 '20

Thanks, I hope it helps!

4

u/larc_vikz Dec 25 '20

Thank you for this tutorial man, just what i need in the right time.. oh btw, i want to ask about the request/day. If i put this code on my home page and i run the function on page load, so every time i open my home page the request will be +1?

2

u/Emjp4 Dec 25 '20

Yes, that's correct.

3

u/larc_vikz Dec 25 '20

I see, thanks