
001
Dit
The streak lesson. Morse code, two letters a day, with a streak that forgives a missed day.
The brief
Pattern 001, the streak lesson. It had to prove that a daily streak can hold someone’s attention without threatening them: a lesson with an end, a missed day that costs nothing important, and no reminders.
Decisions
- The world is a signal lamp at night: navy, cream and one amber light, because Morse was sent by lamp and the subject should choose the palette.
- Two rest days cover a missed day, and one comes back every seven days, so a busy week does not erase a month.
- A long break restarts the count and keeps every letter learned, and the screen says so in those words.
- The streak rule is one function that never reads the clock, and the app accepts a day in its address, so every case (next day, missed day, long break) is tested in seconds.
What it is made of
Three files and no dependencies: index.html (95 lines), style.css (86 lines), app.js (235 lines). Sound is made with the Web Audio API, so there are no audio files. Data stays on the device, with copy and erase in Settings.
Tested
Harness result: PASS on 2026-11-10. 27 scripted steps in headless Chromium on a 390 px touch screen: no console errors, no failed or outside requests, no sideways scroll at 390, 360 or 1280 px, and nothing marked hidden left on screen. Not tested on real phones or in other browsers.








