Using the Third - party API Open Weather Map I will retrieve a 5 day forecast using the parameter of a city. The weather dashboard will run in the browser and feature dynamically updated HTML and CSS. Local storage will store persistent city searches.
The user (a traveller) will use a form input to search for a city's weather forecast. When they search for the city current and future conditions for that city will be displayed. This city search will also dynamically be updated into the search history so the user can also click on the search history to display weather data instead of using the form input.
To use the weather dashboard click on this link to the deployed site: https://jnaoroji.github.io/weather-dashboard-SSAPIs/
The following image shows my web application's appearance and functionality:
- https://developer.mozilla.org
- https://openweathermap.org/forecast5
- https://openweathermap.org/forecast5#geocoding
- This gif was used as the predominant guideline for this quiz.
- index template: /Users/jennynaoroji/bootcamp/bootcamp-repo/UADEL-VIRT-FSF-PT-03-2023-U-LOLC/06-Server-Side-APIs/01-Activities/21-Ins_Review-Part-One/index.html
- css template: /Users/jennynaoroji/bootcamp/bootcamp-repo/UADEL-VIRT-FSF-PT-03-2023-U-LOLC/06-Server-Side-APIs/01-Activities/21-Ins_Review-Part-One/assets/css/style.css
- javaScript template: /Users/jennynaoroji/bootcamp/bootcamp-repo/UADEL-VIRT-FSF-PT-03-2023-U-LOLC/06-Server-Side-APIs/01-Activities/21-Ins_Review-Part-One/assets/js/homepage.js
AS A traveler
I WANT to see the weather outlook for multiple cities
SO THAT I can plan a trip accordingly
GIVEN a weather dashboard with form inputs
WHEN I search for a city
THEN I am presented with current and future conditions for that city and that city is added to the search history
WHEN I view current weather conditions for that city
THEN I am presented with the city name, the date, an icon representation of weather conditions, the temperature, the humidity, and the wind speed
WHEN I view future weather conditions for that city
THEN I am presented with a 5-day forecast that displays the date, an icon representation of weather conditions, the temperature, the wind speed, and the humidity
WHEN I click on a city in the search history
THEN I am again presented with current and future conditions for that city
Please refer to the LICENSE in the repo.