tanaypratap / teamtanay.jobchallenge.dev

The web repository for all things #teamtanayjobchallenge
https://2020.teamtanay.jobchallenge.dev
132 stars 430 forks source link

[Project][Feedback]Air Quality Monitor #468

Open mritunjaysaha opened 4 years ago

mritunjaysaha commented 4 years ago

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

swapnadeepmohapatra commented 4 years ago

The site is really great.

search-bar-pic

Thanks, I'm just your fellow coder.

mritunjaysaha commented 4 years ago

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".

swapnadeepmohapatra commented 4 years ago

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.

mritunjaysaha commented 4 years ago

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.

swapnadeepmohapatra commented 4 years ago

Ohk, now it works fine. Thank you :smiley: