AI-Assisted Coding · Module 03
Frontend, Testing & Debugging with AI
Make the API visible, then prove it still behaves: in the browser, in DevTools and in pytest.
Seven lessons that turn the Module 2 Task Tracker API into a Kanban board you can use in the browser. You set up and verify an assistant in VS Code, build the board in layers, add a create/edit modal that respects backend validation, refactor behind a behavior contract, prove generated tests by breaking the source, and debug from evidence rather than hope.
- Assistant setup
- Kanban board
- Create/edit modal
- Behavior contract
- Deliberate breakage
- Evidence-based debugging
Module introduction
From an API to a product someone can use
Module 2 left you with a backend: task fields, CRUD routes, status-transition rules and tests. Module 3 keeps that same repository and puts a browser product on top of it: a Kanban board with To Do, In Progress and Done columns, cards sorted by priority, drag-and-drop that saves through the API, and a modal for creating and editing tasks. The shift is not only visual. A frontend adds new ways to be wrong: a card in the wrong column, a failed save that the screen pretends succeeded, a form that closes after a server error, a tidy refactor that quietly breaks drag-and-drop. So the module also trains a working rhythm inside VS Code: ask for a small change, inspect the suggestion or diff, run the browser or the tests, and refine from what you see. You finish with a working frontend, a behavior contract, a safe refactor, stronger backend tests and a short debugging log.
- AskOne small, anchored change
- InspectRead the suggestion or diff
- RunBrowser and DevTools
- Testpytest and the contract
- RefineFrom evidence, not guesses
The notes name this loop in Part 1 and return to it in every hands-on part.
Your learning path