The problem
Most weather sites are crowded with ads and pop-ups. I wanted a calm page that answers one question fast: “Do I need a jacket today?”
What I built
- A search box that suggests cities as you type and remembers your last four searches.
- A large “now” card plus a five-day forecast with simple bar charts.
- A layout that changes from a row of cards on desktop to a scrolling list on phones.
What I learned
- How to read JSON from an API with
fetch() and handle errors politely.
- How to keep small bits of state in
localStorage.
- That designing the empty and error states first saves time later.