Skip to content

reyesdmusic/weatherdashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Dashboard

Features

  • Search for any city.

  • Today's weather information appears, along with a 5 day-forecast.

  • UV Index background color changes by severity.

Severity Color
Low Green
Moderate Yellow
High Orange
Very High Red
Extreme Purple
  • Animated icons reflect the weather.

  • User's search history is saved in local storage, so the content persists upon refreshing the page.

  • The user's search history is rendered in the div below the search bar, up to 10 entries, from most recent to oldest. To avoid redundancy, user cities only appear once, moving to the top of the list after each search.

  • Each entry in the search history is also a button. Once clicked, the information and forecast for that city is rendered. Also, that entry moves up to the top of the list.

  • "Clear History" button empties local storage and clears the "Search History" div.

UI

Code Example - Rendering Forecast Divs and Info

Tech Used / Dependencies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published