Lesson 7 of 110 of 8 steps

Lesson 7 ยท about 35 minutes

Make it feel like an app

Small details make the difference between 'a website' and 'an app': nothing hidden under the clock, buttons big enough for a sleepy thumb, pop-ups you can swipe away, and an undo for every mistake. Then reminders that arrive even when the app is closed, and what else a phone lets a web app do.

Safe areas, big tap targets, swipe-to-close pop-ups, visible buttons, undo, reduced motion and dark mode, each asked for in a sentence. Then notifications, and the other phone features that work on iPhone and Android.

You'll know most of this already. The useful part is what real use taught us: safe areas so nothing hides under the clock, big tap targets, sheets that swipe closed, visible buttons instead of overflow menus, undo after every save, and respecting reduced motion and dark mode. Then reminders with Web Push, sent on a schedule by your Worker, and a clear list of which phone features work on iPhone and Android.

How much have you built before?
This lesson's wording changes to match.
FreeEach fix is one sentence
safe area
๏ผ‹ Log a feed
๐Ÿ’ง Wet๐Ÿ’ฉ Dirty

Clear of the clock, big where it matters.

What you'll make

  • An app that sits properly on any phone
  • Big, obvious buttons for the main things
  • Pop-ups that swipe away
  • Undo for every save

You'll need: an app on your home screen.

1

Nothing under the clock

On an installed app, the top of the screen is shared with the clock and battery, and the bottom with the home bar. Without care, your header slides underneath.

Say to your agent
On the home-screen app, the top slides under the clock. Respect the safe areas at the top and bottom.

viewport-fit=cover in the viewport meta, then padding with env(safe-area-inset-top/bottom).

2

Buttons made for thumbs

The thing people do most should be the biggest button, within easy reach. Everything you tap should be at least about a fingertip wide (44 pixels).

Say to your agent
Make the main action the biggest button, and make sure everything you can tap is at least 44 pixels.
3

Pop-ups you can swipe away

On a phone, people expect to drag a pop-up down to close it. Try it:

Log a feed

Drag the sheet down to close it.

You should see

Drag the sheet down past a little way, or flick it, and it closes. A small drag springs back.

Say to your agent
Let every pop-up close with a swipe down, or by tapping outside it.
4

Visible buttons, not hidden menus

A real example: cancelling a running feed timer was behind a small โ‹ฏ menu, then a sheet, then a confirm. Three steps, easy to miss. It became one visible "Cancel feed" button, with one question whose safe answer is "Keep timing".

Say to your agent
Anything people need often should be a visible button. For anything that deletes or cancels, ask once, and make the safe choice obvious.
5

Undo after every save

Mistakes happen, especially with one hand. After every save or delete, a small message offers Undo, and for things you log late, quick "Earlier?" choices like "10 minutes ago".

Say to your agent
After saving or deleting, show a short message with Undo. For logging, offer 'Earlier?' times too.
6

Calm motion, and dark mode

Animation should show something real happening, and stay out of the way. Some people turn motion off in their phone settings, and some use dark mode at night: your app should follow both.

Say to your agent
Follow the phone's reduce motion and dark mode settings.
A new screen broke the layout of an old one
Often two parts of the app accidentally share a style name. Ask your agent to give new parts their own names, and to screenshot old screens after every change.
7

Reminders that arrive

Notifications are the feature that most makes a web app feel like a real app. A server sends them, so they arrive even when the app is closed: "a feed is due", "your lesson is at 4pm", "someone commented".

You should see

A reminder on the lock screen, and a badge on the icon. On iPhone, both need the app added to the home screen first.

Say to your agent
Add reminders as notifications. Put a 'Turn on reminders' button in Settings, let each phone choose what it gets, and add quiet hours. Test it on my phone before anyone else gets one.

Your agent sets up a small schedule on Cloudflare (every few minutes) that checks what's due and sends each reminder once. It works on the free plan.

Under the hood: Web Push with VAPID keys kept as Worker secrets, encrypted with Web Crypto so no Node libraries are needed. A Cron Trigger sends what's due, a sent-log stops anything going twice, and phones that have gone (a 404 or 410) are removed.

Lessons learned from a feeding log that sends reminders day and night:

  • Ask at the right moment. Only after someone taps "Turn on reminders", never when the app opens. On iPhone, the question has to come straight after the tap.
  • Say why it isn't working. If someone's in Safari rather than the home-screen app, tell them to open it from the home screen instead of showing a button that does nothing.
  • Keep private things off the lock screen. "A new note" is fine; the note itself isn't.
  • Be honest about limits. Reminders can arrive a few minutes late, and Focus or Sleep can silence them. Say so in Settings, so nobody relies on them alone.
The button says notifications are blocked
The phone remembers a "Don't allow". Change it in the phone's Settings โ†’ Notifications โ†’ your app (on Android, long-press the app icon โ†’ App info โ†’ Notifications), then try again.
Reminders stopped after we changed something
If the push keys are ever replaced, every phone has to turn reminders on again. Ask your agent to keep the same keys.
8

What else a phone can do

Reminders are one of many app features a web app can use. Here's what works today on each phone:

FeatureiPhoneAndroid
NotificationsReminders and alerts, even when the app is closed. Yesonce on the home screenYes
Badge on the iconA number on the app icon, like unread messages. Yesonce on the home screenYesa dot, while a notification is unread
Works offlineOpens and saves with no signal, then syncs. YesYes
Keep the screen onWhile a timer or a recipe is showing. YesYes
Share outSend a link, photo or file to any app. YesYes
Share inAppear in the phone's share menu to receive things. NoNoYes
LocationWhere you are, while the app is open. YesYes
Camera and microphonePhotos, video, voice notes, scanning. YesYes
Face ID or fingerprint sign-inPasskeys instead of passwords. YesYes
Apple Pay or Google PayPay in a tap. YesYes
Lock-screen controlsPlay, pause and skip from the lock screen. YesYes
SpeechRead aloud, and dictation. YesYes
Motion and tiltSteps, shakes, which way the phone is held. YesYes
VibrationSmall buzzes for taps and alerts. NoNoYes
Sync in the backgroundFinish sending after the app is closed. NoNoYes
App shortcutsLong-press the icon for quick actions. NoNoYes
Bluetooth and NFCTalk to nearby devices and tags. NoNoYes

Not possible for web apps: home-screen widgets, tracking location in the background, running all the time in the background, and being found in the App Store. On Android, a web app can be listed on Google Play.

iPhone support from firt.dev's iOS web app notes, checked November 2026. This changes with each iOS release; your agent checks before promising a feature.

Say to your agent
Which of these would make my app better? Tell me what works on iPhone and Android before building any of them.

Like notifications, location and the camera ask permission only when someone taps something that needs it.

Lesson 7 doneYou just made it feel like a real app, with reminders that arrive.
Next up ยท lesson 8, about 25 minutesYour agent checks everything in a real browser before asking to go live.

Did it work?

Tick these off. They're saved in this browser, so you can come back later.

  • Nothing hides under the clock or the home bar
  • The main button is big and easy to hit
  • Pop-ups close with a swipe down
  • Every save and delete can be undone
  • A reminder arrived on my phone, and I can turn it off