Build TaskFlow Lite in JavaScript
Turn the static page into a working task manager using only browser JavaScript so the language fundamentals are visible.
What you are building
Deliverables
Work through it one observable step at a time
- 01
Model one task as a plain object, then create an array of tasks.
- 02
Write pure functions for creating, updating, filtering, and deleting tasks.
- 03
Render the array into the DOM and keep rendering separate from state-changing functions.
- 04
Wire form submit and button events to the state functions.
- 05
Add search and status filtering as derived values rather than duplicate state.
- 06
Persist tasks to localStorage and safely handle missing or malformed stored JSON.
- 07
Add an async request with `fetch`, loading/error handling, and cancellation.
- 08
Introduce one race or stale-result bug, then fix it deliberately.
- 09
Reload the page and prove all expected behavior still works.