Where each lesson comes from, what was not supplied, and the places where the material needs a careful reading.
The sources
Built from three supplied PDFs: the Module 3 Lecture Notes (13 pages: snapshot, ten learning outcomes, the module outputs table and Parts 1 to 8), the Module 3 Prompt Library (18 pages: how to use, key mindset, a quick-reference table and 22 prompts, P0 to P2, B1 to B5, C1 to C3, D1 to D4, E1 to E4, R1, O1 and O2), and the Module 3 Additional Readings (4 pages: six core, four practical and two optional readings with 12 links). Not supplied: the Module 3 videos the notes say they accompany, the slides the readings mention, the recording the CORS note cites, and the Module 2 code the module builds on. Nothing here is attributed to those beyond what the notes themselves report.
Listening
Every page in this course is read aloud by your device’s own voice. No recorded narration was generated for it. Back to the lessons →
Lessons and the source pages they draw on
Lesson
Lecture notes
Prompt library
Readings
1 · From backend API to product UI
pp. 1-4 (snapshot, outcomes, outputs, Part 1)
p. 1 (how to use, key mindset)
p. 1 (Core 1)
2 · Set up and verify the assistant
pp. 4-5 (Part 2, hands-on 3.1)
pp. 2-4 (P0, P1, P2)
pp. 1-3 (Core 2, Core 3, Practical 4)
3 · Build the Kanban board
pp. 5-7 (Part 3, hands-on 3.2)
pp. 4-7 (B1 to B5)
pp. 2-3 (Core 4, Core 5, Practical 3)
4 · The create/edit modal
pp. 7-9 (Part 4, hands-on 3.3)
pp. 8-10 (C1 to C3)
p. 2 (Core 3, Core 5)
5 · Refactor safely
pp. 9-10 (Part 5, hands-on 3.4)
pp. 10-13 (D1 to D4)
p. 2 (Core 3)
6 · Test and debug from evidence
pp. 10-12 (Part 6, hands-on 3.5)
pp. 13-16 (E1 to E4)
pp. 2-3 (Core 6, Practical 1, Practical 2)
7 · Pitfalls and the finished module
pp. 12-13 (Parts 7 and 8)
pp. 16-18 (R1, O1, O2)
p. 4 (Optional 1, Optional 2)
Lesson 01
From backend API to product UI
Module 3 makes the API visible. Correctness now includes what the browser shows, what DevTools records and what the frontend holds in state, while the backend rules from Module 2 stay in charge.
What Module 3 builds, the workflow it practises, and the ten outcomes.
Lecture notes pp. 1-2
Module outputs
The six outputs table with contents and reasons.
Lecture notes p. 3
Part 1 — From backend API to product UI
Key takeaway, new ways to be wrong, and the ask, inspect, run, test, refine loop.
Lecture notes pp. 3-4
What changes, and the source-of-truth rule
The Module 2 versus Module 3 table and the backend-owns-the-rules statement.
Lecture notes p. 4
Core 1 — Best practices for using GitHub Copilot
The mindset reading that backs the loop.
Readings p. 1 (Core 1)
Lesson 02
Set up and verify the assistant
Part 3.1 sets up VS Code with GitHub Copilot. The hands-on check is small on purpose: ask for a route summary of app/main.py and compare every claim with the real decorators and functions.
Key takeaway, the Part 3.1 hands-on check, and the five-step checklist.
Lecture notes pp. 4-5
First verification prompt and inspection table
The route-summary prompt and the four checks.
Lecture notes p. 5
P0 and P1
The context block and the app/main.py grounding prompt.
Prompt library pp. 2-3
Core 2 and Core 3
Asking Copilot questions in the IDE, and inline chat on a selection.
Readings pp. 1-2 (Core 2, Core 3)
Practical 4 — Manage context for AI
Adding files, folders, symbols and terminal output to chat.
Readings p. 3 (Practical 4)
Lesson 03
Build the Kanban board
Part 3.2 builds frontend/index.html in layers: static layout, styling, fetch and render, UI states, and only then drag-and-drop that PATCHes the backend and reverts when the server says no.
Key takeaway, why vanilla JavaScript, the board requirements and the eight-step sequence.
Lecture notes pp. 5-6
Constants and the CORS note
The four demo constants and the CORS troubleshooting step from the recording.
Lecture notes pp. 6-7
Board verification checklist
Eight behaviors and the evidence for each.
Lecture notes p. 7
B1 to B5
Static layout, fetch and render, UI states, CORS diagnosis, drag-and-drop with rollback.
Prompt library pp. 4-7
Core 4, Core 5 and Practical 3
Native drag-and-drop, checking fetch response status, and DataTransfer.
Readings pp. 2-3 (Core 4, Core 5, Practical 3)
Module 2 transition rules
Same-status moves rejected; used here only for the same-column inference.
Module 2 lecture notes p. 7
Lesson 04
The create/edit modal
Part 3.3 adds a New Task button and Edit buttons that open one modal in two modes. It trims titles before sending anything, uses POST or PATCH, keeps the modal open on a 422, and clears itself on every way out.
Key takeaway and the instructor’s focus on selected edits.
Lecture notes pp. 7-8
Modal elements, modes and validation rules
Element table, create versus edit table, and the five rules.
Lecture notes p. 8
Five flows and debugging from evidence
The verification table and the evidence-first debugging note.
Lecture notes p. 9
C1 to C3
Plan the flows, add the modal in a focused way, diagnose a failing flow.
Prompt library pp. 8-10
Core 3 and Core 5
Inline chat on a selected section, and sending JSON with fetch while checking status.
Readings p. 2 (Core 3, Core 5)
Lesson 05
Refactor safely
Part 3.4 treats a refactor as a change that must prove nothing changed. Write an eight-item behavior contract, commit, refactor one selected section, inspect the diff for red flags, and re-check after every accepted change.
Key takeaway, the goal of the refactor and the seven-step workflow.
Lecture notes pp. 9-10
Diff review red flags
Seven red flags and why each matters; the transferable habit.
Lecture notes p. 10
D1 — The 8-behavior contract
The only place the eight behaviors are listed.
Prompt library pp. 10-11
D2 to D4
Refactor one selection with hard constraints, review a diff, recover one regression.
Prompt library pp. 11-13
Core 3 — Inline chat
Selecting a block to scope the prompt and reviewing the inline diff.
Readings p. 2 (Core 3)
Lesson 06
Test and debug from evidence
Part 3.5 returns to the backend. Brainstorm PATCH edge cases, write one pytest test at a time, prove each by breaking the source on purpose, and debug from the full failure output with fixes to the source, never to the test.
Key takeaway, the demo’s approach, and the candidate edge cases.
Lecture notes pp. 10-11
Test verification loop and the lecture example
Seven steps and the backward-transition behavior.
Lecture notes p. 11
Debugging, cause fixes and the log
Debugging from failure output, the suppression table and the four-line log.
Lecture notes pp. 11-12
E1 to E4
Brainstorm, one test, proof by breakage, diagnose from output.
Prompt library pp. 13-16
Core 6, Practical 1 and Practical 2
Writing tests with Copilot, FastAPI TestClient, and running and reading pytest.
Readings pp. 2-3 (Core 6, Practical 1, Practical 2)
Lesson 07
Pitfalls and the finished module
Most Module 3 mistakes come from trusting output before checking context, browser evidence or the contract. This lesson collects the six pitfalls with their recovery moves, and the eight things you should have at the end.
Key takeaway and the eight-row end-of-module checklist.
Lecture notes p. 13
R1 — Debugging log and reflection
Notes-only deliverable prompt with its constraints.
Prompt library pp. 16-17
Optional extension prompts
O1 accessibility review and O2 visual polish, after the required work.
Prompt library pp. 17-18
Optional readings
Prompt engineering for Copilot Chat and Exploring Generative AI, after the module.
Readings p. 4 (Optional 1, Optional 2)
Source appendix
Where the material needs a careful reading
Read with care
The videos and slides were not supplied
The notes describe themselves as a guide to read alongside the Module 3 videos, not a transcript, and the readings say they support the module’s slides. Neither was supplied. Where the notes report what the instructor or recording did, such as the CORS fix or the deliberate-breakage demo, that report is all this guide has.
Two numbering schemes
The notes number their sections Part 1 to Part 8, but the hands-on sub-parts inside them are numbered 3.1 to 3.5 (Part 2 is hands-on 3.1, through Part 6 as 3.5). The prompt library and readings use the 3.x numbers. The lessons follow the notes’ parts, and Parts 7 and 8 share one lesson.
The eight contract items come from the prompt library
The notes require an 8-item behavior contract but never list the items. Lesson 5 uses the eight behaviors named in prompt D1. Prompt D3 lists a different eight (it separates title trimming and dismissal and merges the UI states), so the exact composition is yours to settle.
Tools as the documents describe them
The setup steps, the three assistant modes and inline chat’s Keep and Undo are described as the documents describe them at the time they were written; your version of VS Code or Copilot may name or place them differently. The notes also allow “the course-supported VS Code AI assistant” in place of Copilot, and prompt P2 is the only place that mentions Codex.
Transition rules live in Module 2
Module 3 relies on Module 2’s status-transition rules without restating them. In the Module 2 notes, same-status moves are rejected; the point in Lesson 3 that a same-column PATCH would come back as an error is this guide’s inference from that, not a Module 3 claim. The board checklist hedges its own example with “if the backend rejects it”.
Details the notes leave open
The notes give no expected status for an empty or oddly shaped PATCH body (“backend-defined”), and no status code for a successful create; prompt C2 handles “200/201”. Sending an empty description as an empty string and an empty assignee as null comes from C2; the notes say null only “if the backend expects optional assignee data”.
The tools comparison is under-specified
The end-of-module checklist asks for “a brief comparison of AI tools/workflows used so far”, but nowhere else describes it, and prompt R1’s reflection items do not include it.
Demo values are examples
localhost:8000, localhost:5500, Live Server and the four constants are the demo’s values. Use the origins and ports your own setup actually has.
Group intros added by this guide
The prompt library prints no introduction for its single end-of-module deliverable prompt; the one-line intro for that group is this guide’s. The library’s quick-reference table, used here as its checklist, omits O1 and O2.
Checked against the supplied documents cited in each note.
What not to take away
The lessons actively work against these misreadings:
If the API tests pass, the frontend is correct.
Setup is finished when the assistant answers a question.
A confident route summary means the assistant read the file.
The UI can show “In Progress” to the API since it is the same status.
Drag-and-drop is done once cards move on screen.
A CORS error is fixed by allowing every origin.
Closing the modal after any response is fine, since the board refreshes anyway.
A refactor that looks cleaner must behave the same.
When a refactor breaks one thing, ask the assistant to redo the whole file.
A generated test that passes first time is a good test.
Changing the assertion to match the current output is a valid fix.
The assistant can write the reflection for you.
Study-guide synthesis; each item is addressed in the lessons.