Make It an App: Phone-Ready Web Apps
Intermediate · 13 missions · about 3 hours
Most people will meet your product on a phone. Learn to turn a web page into a progressive web app (PWA): thumb-friendly, installable on the home screen, working offline and saving data on the device. You finish by shipping a real installable app to the internet.
Missions
- Build a phone app in 60 seconds with AI: Describe an app for your pocket. Watch AI build it live, then make it yours.
- Mobile-first layout & the viewport tag: One line that stops phones from shrinking your page, plus CSS that starts small.
- Thumb-friendly: touch targets & spacing: Fingers are not mouse pointers. Size and space every tap target so nobody misses.
- The web app manifest: your app’s ID card: Name, icon, start page and display mode: build and check the file that makes a site installable.
- Service workers: your app’s offline brain: What a service worker is, how it installs and takes over, and where every request goes.
- Caching strategies: cache-first vs network-first: Decide, request by request, whether speed or freshness wins, then build both strategies.
- Offline fallback: never show the dinosaur: When the network fails and nothing is saved, answer with a friendly offline page, image or message.
- Save data on the device: Keep the user’s data on their phone with save and load helpers that never crash.
- Detect online & offline, then sync: Listen for connection changes, tell the user, and send saved changes when the signal returns.
- Feel native: share, clipboard & app patterns: The share sheet, copy buttons, bottom tabs, safe areas and pull-to-refresh, done right.
- Fix the AI’s service worker: Realistic caching bugs: stale pages, saved errors, used-up bodies and a deleted cache.
- Spec a phone app with AI: Write the prompt that gets an AI to build a real PWA: phone-first, installable and offline-ready.
- Boss: Ship an installable app to your phone: Manifest, icons, service worker and offline support, deployed to Cloudflare and on your home screen.
Part of: AI Web Developer career path, Game Developer career path