Use the5 day weather forecast (https://openweathermap.org/forecast5)to retrieve weather data for cities. The base URL should look like the...

1 answer below »



Use the




5 day weather forecast (








https://openweathermap.org/forecast5)








to retrieve weather data for cities. The base URL should look like the following:








https://api.openweathermap.org/data/2.5/forecast?lat={lat}&lon={lon}&appid={API key}


. After registering for a new API key, you may need to wait up to 2 hours for that API key to activate.


Third-party APIs allow developers to access their data and functionality by making requests with specific parameters to a URL. Developers are often tasked with retrieving data from another application's API and using it in the context of their own. Your challenge is to build a weather dashboard that will run in the browser and feature dynamically updated HTML and CSS. You will use localStorage to store any persistent data.
See attached for acceptance criteria and what the page should look like and its functionality. Must use JavaScript, HTML, and CSS.



Weather Dashboard Search for a City: Atlanta (9/13/2022) Wind: 8.43 MPH Humidity: 44 % Atlanta 5-Day Forecast: Denver LIAL Tpivr LTE ploy] 9/16/2022 9/17/2022 9/18/2022 Seattle o o o o LS San Francisco Temp: 63.55 °F Temp: 66.52 °F Temp: 67.71 °F Temp: 67.1 °F CTA Orlando Wind: 3.94 MPH Wind: 3.91 MPH Wind: 3.27 MPH Wind: 4.65 MPH Wind: 4.23 MPH Humidity: 63 % Humidity: 64 % Humidity: 64 % Humidity: 72 % Humidity: 62 % New York Chicago Austin GIVEN a weather dashboard with form inputs WHEN THEN WHEN THEN WHEN THEN WHEN THEN 1 1 1 1 1 1 1 1 search for a city am presented with current and future conditions for that city and that city is added to the search history view current weather conditions for that city am presented with the city name, the date, an icon representation of weather conditions, the temperature, the humidity, and the wind speed vieu future weather conditions for that city 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 Click on a city in the search history am again presented with current and future conditions for that city
Answered Same DayJan 12, 2023

Answer To: Use the5 day weather forecast (https://openweathermap.org/forecast5)to retrieve weather data...

Aditi answered on Jan 12 2023
34 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here