Build an expense tracker that gets money right: integer cents, a defensive amount parser, accessible form validation, derived totals and charts, filters, and saved data with a schema migration.
What you'll build
An expense tracker that adds up exactly, validates kindly, and migrates old saved data.
An expense tracker is a small app with the same problems as a banking or checkout UI: money that must add up exactly, forms that must reject bad input kindly, totals that must never disagree with the list, and saved data that outlives the version of the code that wrote it.
You'll build one with:
1money.js cents: parseAmount and formatCents
2transactions.js pure logic: validate, summarize, filter
3storage.js load and save with a schema version and a migration
4TransactionForm.jsx controlled form with accessible errors
5TransactionList.jsx the list, with delete
6Summary.jsx totals and category bars
7Filters.jsx type and category filters
8App.jsx state and wiringWhat you'll learn: why money is stored in integer cents, parsing user input defensively, separating validation from the form so you can test it, derived state with useMemo, accessible form errors, and versioned localStorage with migrations.