---
title: "Discussion on \"Getting the user's location with JavaScript\" | Hashnode"
description: "Discussion on \"Getting the user's location with JavaScript\". In this tutorial I will show you how to get the user's location with the JavaScript Geolocation API.\nYou can use it to redirect them to a site in their language or on sites such as a News or Weather App and use their location to adjust the home page ..."
url: "https://hashnode.com/posts/getting-the-users-location-with-javascript/5fe4cacddd4d781dc1883dc9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Getting the user's location with JavaScript](https://jonahlawrence.hashnode.dev/getting-the-users-location-with-javascript?utm_source=hashnode&utm_medium=feed)

In this tutorial I will show you how to get the user's location with the JavaScript Geolocation API. You can use it to redirect them to a site in their language or on sites such as a News or Weather App and use their location to adjust the home page ...

Dec 24, 2020 · 7 min read · jonahlawrence.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#apis](https://hashnode.com/tag/apis)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Jonah Lawrence](https://hashnode.com/@DenverCoder1)

@DenverCoder1 · Denver, CO

  
[View profile](https://hashnode.com/@DenverCoder1)

Full Stack Developer and YouTuber

💻 Full Stack Dev 🎨 UI designer 🎓 Student 📺 Youtuber @ youtube.com/DevProTips 🐙 git.io/DenverCoder1

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
