Module 05 / Build together
Put your webapp on a home screen.
Make an installable webapp, then verify its offline behaviour.
Build one thingCheck it worksChoose an extension
Free neighbourhood AI learning01 / 17
Module 05 / Build together
Before you start.
01
You already know
Module 04. A prepared HTTPS host or localhost test server.
02
Open these tools
Browser, editor, prepared 192/512 PNG icons and a phone for mobile testing.
03
Check the requirement
A PWA is a web app. App-store distribution and native device features are separate.
Free neighbourhood AI learning02 / 17
Module 05 / Build together
Your first small win.
Make my checklist layout comfortable on a phone: large buttons, clear labels, no horizontal scrolling. Preserve behaviour and local data. No dependencies or invented features. Return the complete HTML. Code: [paste].
Copy this prompt from the learner page. Replace bracketed placeholders yourself.03 / 17
Module 05 / Build together
What happens between input and output?
1A manifest describes the installed app.
2A service worker can cache approved app files.
3Installation and offline caching are separate checks.
Follow the data. Name the human decision.04 / 17
Module 05 / Build together
Step 01. Prepare the app files.
1Use the working checklist from Module 04.
2Keep index.html at the project root.
3Add prepared icons at icons/192.png and icons/512.png.
Free neighbourhood AI learning05 / 17
Module 05 / Build together
Step 02. Create a manifest.
1Add manifest.json with name, icons and start_url.
2Set display to standalone.
3Link the manifest from the HTML head.
Free neighbourhood AI learning06 / 17
Module 05 / Build together
Step 03. Add offline caching.
1Use the build prompt for sw.js.
2Cache only this app and its icons.
3Register the service worker from index.html.
Free neighbourhood AI learning07 / 17
Module 05 / Build together
Step 04. Test on localhost.
1Run a local server and open localhost.
2Inspect the browser Application panel.
3Check manifest fields and service-worker status.
Free neighbourhood AI learning08 / 17
Module 05 / Build together
Step 05. Use HTTPS for the phone.
1Review before uploading to a chosen HTTPS host.
2Open that HTTPS address on the phone.
3Use the browser install option or Add to Home Screen.
Free neighbourhood AI learning09 / 17
Module 05 / Build together
Step 06. Verify installation and offline.
1Launch the installed app and add a test task.
2Load it once, disconnect and reopen it.
3Check the checklist still works; reconnect afterward.
Free neighbourhood AI learning10 / 17
Module 05 / Build together
Make the working version.
Turn this checklist into a small PWA. Return separate index.html, manifest.json and sw.js. Use supplied icons/192.png and icons/512.png, start_url ./ and standalone display. Version the cache and remove old caches. Cache app files only. Explain localhost and HTTPS tests. Code: [paste].
Copy this prompt from the learner page. Replace bracketed placeholders yourself.11 / 17
Module 05 / Build together
Ask for a review. Then check it.
Review these PWA files for manifest paths, icon sizes, service-worker scope, cache versioning and offline behaviour. Provide browser tests. Do not claim it is installed or app-store ready. Files: [paste].
Copy this prompt from the learner page. Replace bracketed placeholders yourself.12 / 17
Module 05 / Build together
Prove your result works.
1Manifest paths and icons resolve.
2Install control works in a supporting browser.
3After first load, offline use works as tested.
Record the input, the output and one check.13 / 17
Module 05 / Build together
When it does not work yet.
01
No install option
Use HTTPS or localhost and check browser support/manifest.
02
Old version persists
Update the cache version and inspect the worker lifecycle.
Free neighbourhood AI learning14 / 17
Module 05 / Build together
Choose your next challenge.
01
Core complete
Show one checked output to a partner.
02
Extension 1
Add an explicit update notification.
03
Extension 2
Compare installed behaviour on two devices.
Free neighbourhood AI learning15 / 17
Module 05 / Build together
Keep the result. Keep the evidence.
Make an installable webapp, then verify its offline behaviour.
Save your filesSave your promptName the next change
Free neighbourhood AI learning16 / 17
Module 05 / Build together
Sources you can check.
01
MDN
Making PWAs installable
02
MDN
Service workers tutorial
Free neighbourhood AI learning17 / 17