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

View all comments

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