All projects

Weather Dashboard

A weather app that shows current conditions and a five-day forecast for any city.

  • JavaScript
  • HTML & CSS
  • REST APIs
Mockup of the Weather Dashboard with current conditions, a five-day forecast, and a chart

Overview

A simple weather dashboard built with vanilla JavaScript. Type a city name and it fetches the current conditions and a five-day forecast from a public weather API.

Features

  • City search with recent searches saved in local storage
  • Clear icons and colour coding for different conditions
  • Graceful handling of unknown cities and network errors

What I learned

Working with a third-party API taught me to handle slow responses and failures properly, and to never trust that the data will look exactly like the documentation says.