Module 04 / Build together
Turn a page into a working webapp.
Build a checklist that adds, completes and removes tasks.
Build one thingCheck it worksChoose an extension
Free neighbourhood AI learning01 / 17
Module 04 / Build together
Before you start.
01
You already know
Module 03. Keep a backup of working HTML.
02
Open these tools
AI chat, editor, browser; localhost server for reliable storage tests.
03
Check the requirement
Local JavaScript needs no API or backend. Storage stays in this browser.
Free neighbourhood AI learning02 / 17
Module 04 / Build together
Your first small win.
Create a complete single-file HTML task checklist. Add a task, mark it done and delete it. Use crimson, ink and near-white. Start empty. No network requests, accounts or libraries. Include labels and keyboard controls. Return code only.
Copy this prompt from the learner page. Replace bracketed placeholders yourself.03 / 17
Module 04 / Build together
What happens between input and output?
1An input changes application state.
2JavaScript updates the view and handles actions.
3Local storage is not shared or secure cloud storage.
Follow the data. Name the human decision.04 / 17
Module 04 / Build together
Step 01. Start a new app folder.
1Create my-checklist-app.
2Generate the quick-win code.
3Save it as index.html and open it.
Free neighbourhood AI learning05 / 17
Module 04 / Build together
Step 02. Try three actions.
1Add the fictional task Buy pens.
2Mark it complete.
3Delete it and check the list is empty.
Free neighbourhood AI learning06 / 17
Module 04 / Build together
Step 03. Add persistence.
1Use the build prompt for localStorage.
2Save a backup before replacing code.
3Ask for an Export JSON and Clear data control.
Free neighbourhood AI learning07 / 17
Module 04 / Build together
Step 04. Serve it locally.
1With Python installed, run python3 -m http.server 8000 in the folder.
2On Windows, py -m http.server 8000 is an alternative.
3Open http://localhost:8000 rather than the file URL.
Free neighbourhood AI learning08 / 17
Module 04 / Build together
Step 05. Test state and reload.
1Add two tasks and reload.
2Export the list, then clear it.
3Confirm the cleared state remains after another reload.
Free neighbourhood AI learning09 / 17
Module 04 / Build together
Step 06. Keep the scope small.
1Use fictional task text.
2Do not add API keys to browser code.
3Explain that another browser has a different local list.
Free neighbourhood AI learning10 / 17
Module 04 / Build together
Make the working version.
Add localStorage persistence, Export JSON and Clear data to my checklist. Treat typed text as text, not HTML. Handle empty inputs and damaged stored JSON. No API keys or network calls. Explain how to test on localhost. Code: [paste].
Copy this prompt from the learner page. Replace bracketed placeholders yourself.11 / 17
Module 04 / Build together
Ask for a review. Then check it.
Review this checklist code for unsafe HTML insertion, missing labels, empty input handling and persistence failures. Give manual tests, not claimed results. Keep the app offline and single-file. Code: [paste].
Copy this prompt from the learner page. Replace bracketed placeholders yourself.12 / 17
Module 04 / Build together
Prove your result works.
1Add, complete and delete work.
2Reload keeps state on localhost.
3Export and clear work; typed markup is displayed as text.
Record the input, the output and one check.13 / 17
Module 04 / Build together
When it does not work yet.
01
Storage differs by URL
Use the same localhost address and port.
02
A revision broke it
Restore the backup, then change one feature.
Free neighbourhood AI learning14 / 17
Module 04 / Build together
Choose your next challenge.
01
Core complete
Show one checked output to a partner.
02
Extension 1
Add filtering and an undo action.
03
Extension 2
Build a different tool with the same state pattern.
Free neighbourhood AI learning15 / 17
Module 04 / Build together
Keep the result. Keep the evidence.
Build a checklist that adds, completes and removes tasks.
Save your filesSave your promptName the next change
Free neighbourhood AI learning16 / 17
Module 04 / Build together
Sources you can check.
01
MDN
localStorage
02
MDN
Your first website
Free neighbourhood AI learning17 / 17