Help: my weather app is showing the wrong city

Please, I will like coders in the house to take a look at my live weather app. It is showing me the wrong city. Where did i get it wrong?

See the Pen Live Weather App by AMADI LUCKY SAMPSON (@tranxcop) on CodePen.

The application is using your browser’s location ability. Are you by chance using a VPN or anything else that would show your IP address non-locally?

I had the similar problem with my project,so I ended up using “” to get the location information based on IP Address, and then using that json to fetch information from weather API. I hope it may help