Open mritunjaysaha opened 4 years ago
The site is really great.
It seems the getting the nearest city isn't working properly.
Also while searching the dropdown is transparent and thus the suggestions are not properly visible.
Thanks, I'm just your fellow coder.
Hey, @swapnadeepmohapatra thanks for the feedback. I've made the changes. It should work fine now. If the get nearest city button is not able to fetch the city details in the API then it will show an alert "City not found".
The get nearest city is still not working properly. It's showing Medinipur, which is not in my state even. You can put a alert dialog Box showing that error.
Hey, @swapnadeepmohapatra it is some problem with the API. It does not get the details of all the cities. When I click the get nearest city button it did fetch my current city details. Though I have changed the method to get the nearest city location using GPS coordinates from previously used IP geolocation.
Ohk, now it works fine. Thank you :smiley:
Hello mentors, I have built a website that allows us to see the air quality index, temperature, humidity and pressure of multiple places at a time. I have implemented local storage so that the data is not lost even when we refresh the page.
Github link: https://github.com/mritunjaysaha/air-quality-monitor Hosted link: https://aqimonitor.netlify.app