I’m using navigator. Geolocation for getting the current location.As per my location, the city is Bangalore. But when I refresh the page a couple of time, I am getting another city named ‘Shuzenji’. Please help me in this.
It’s a known bug
https://forum.freecodecamp.org/t/seems-to-be-a-problem-with-the-fcc-weather-api/179165
So this problem basically means you’re doing it right!
Tnks for the info. But this was not the problem.