Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5 day forecast and city name input field #6

Open
rawbirth opened this issue Aug 23, 2022 · 0 comments · May be fixed by #7
Open

5 day forecast and city name input field #6

rawbirth opened this issue Aug 23, 2022 · 0 comments · May be fixed by #7
Assignees

Comments

@rawbirth
Copy link
Collaborator

This task consists of 2 parts:

Add an input field for the city

Currently we are hardcoding Ruse as the city for the forecast. Now we need to create a text input field, which will be used for the name of the city, for which we want to see the forecast.

Add a 5 day forecast

As part of the free plan the weather API site gives the ability to get a 5 day forecast. Below the current forecast we want to display the 5 day forecast (https://openweathermap.org/forecast5).

The expected result

For example if I write in the input field Sofia and then I click the search button, we need to generate the current and 5 days forecasts of the city. Then if I delete the text and change it with Varna and again click the button, I should get the forecasts for the city of Varna.

@ThePredatorBG ThePredatorBG linked a pull request Aug 26, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants