-
Before and after: a 17.9 KB offline lesson, and why the loop back to the teacher matters
-
Progress code to text by SMS, high contrast and larger text, Spanish lesson
-
Teacher results: follow-up plan grouped by wrong answer, one SMS each
-
Teacher editor: write a lesson with a hint for each wrong answer
-
Learner screens: opens offline, hint for the exact wrong answer, finish card with practice
Inspiration
A lesson cannot help someone who cannot reach it. Many learners share one older phone with their family, buy data in small bundles, and often have no signal at home. Remote lessons usually arrive as videos of tens of megabytes, or as a platform that needs a login and a steady connection. Good offline platforms exist (Kolibri, Internet-in-a-Box, RACHEL), but they need a server or a hotspot within reach. What actually reaches the learner's home is often just the class chat group.
Reaching the learner is only half of it. In a randomized trial in Botswana during school closures (Angrist et al., Nature Human Behaviour, 2022), weekly SMS problems alone did not improve learning; SMS plus a short follow-up call from a teacher-like facilitator did (+0.12 SD in maths). So we built for both halves: getting the lesson to the phone, and telling the teacher whom to follow up, and about what.
The learner, the task, the barrier
- Learner: a 13-year-old who shares an old Android phone with two siblings, has prepaid data, and often no signal at home.
- Task: practise one short topic (equivalent fractions) after school, get help when stuck, and let the teacher know how it went.
- Barrier: the lesson does not reach the phone, or does not work there without a connection. When the learner gets something wrong, nobody tells them why, and the teacher never finds out.
Before → after (one concrete example)
- Getting the lesson: before, a video lesson of tens of MB or a platform login. After, one 17.9 KB file forwarded in the class chat or by Bluetooth.
- Doing it: before, signal needed the whole time. After, it works with the network off (0 network requests, measured).
- Getting it wrong: before, no feedback or the answer is simply shown. After, a hint written for the exact wrong answer chosen ("2/3 adds 1 to the top and the bottom…"); the full explanation comes after a second try.
- Finishing: before, nothing. After, a first-try score and "Practice the ones I missed".
- Shared phone: before, one account and siblings overwrite each other. After, each learner on the phone keeps separate progress.
- Reading barrier: before, text only. After, read aloud with the phone's own voice, larger text, high contrast, full keyboard use.
- Reporting back: before, send a screenshot (needs data). After, text a short code such as FRAC-AMI-1113-R by plain SMS.
- Teacher's next step: before, guesswork. After, paste the messages and get a class table plus a follow-up plan: learners grouped by the wrong answer they chose, each group with a one-SMS message about its own mistake.
What it does
- Teacher editor (one web page; nothing is uploaded). Write reading parts and multiple-choice questions, with an explanation and an optional hint for each wrong answer. The editor checks the lesson, shows the file size, and opens it exactly as a learner sees it. Press "Download lesson file". A one-file offline copy of the editor is also available.
- Learner file. A single HTML file with no install and no account, and it works offline. It shows a progress bar and reads aloud. A wrong answer gets the hint for that answer, not the solution; the explanation comes with the right answer or after a second wrong try. At the end, the learner sees a first-try score and can practise the missed questions again with shuffled options. Several learners can share one phone. The interface follows the lesson's language (English or Spanish).
- Progress code. It contains the lesson code, a 3-letter code name, the learner's first-try answers, and a check character that catches typos. It fits in one SMS, and a button opens the SMS app with the code filled in. Practice does not change the code, so the teacher sees what the learner understood before help.
- Class results and follow-up plan. Paste any amount of SMS text. The editor finds the codes and builds a class table. It then lists the hardest questions first and groups learners by the wrong answer they chose. Each group gets a ready-to-send message built from that answer's hint (all sample messages fit in one SMS). Learners who have not answered a question get a reminder.
How we built it
Plain HTML, CSS and JavaScript, with no framework and no runtime libraries. The editor writes its own learner code into every exported file, so there is one source and no build step. Only the interface text for the lesson's language goes into each file. Read aloud uses the browser's Web Speech API. Progress is stored in localStorage; when a browser blocks storage, the lesson still works and warns the learner. Lesson text is escaped so it cannot break out of the file.
Testing is automated with puppeteer-core and Lighthouse, both used only during development:
- Logic tests (8): encoding and decoding codes, catching typos, single-SMS length, escaping.
- End-to-end checks in headless Chrome (33): the phone-sized lesson opened from a file with the network off and the CPU slowed 6×; a keyboard-only walkthrough; a hint for the chosen wrong answer with the explanation only after the second try; the progress bar, finish card and practice of exactly the missed questions without changing the code; progress kept after reopening the file; two learners on one phone; storage blocked; the Spanish interface; the full teacher loop (decoding, follow-up groups, one-SMS messages); the offline editor exporting with no network. The same 33 checks also pass against the live GitHub Pages site.
- Accessibility tree: every control is named, and every question is a named group.
- Lighthouse (mobile, median of 3 runs): accessibility 100 and best practices 100 on every lesson and both editors, in every run. Performance swung with machine load (single runs from 71 to 100); medians were 91–95 for the lessons and 99–100 for the editors. An interleaved A/B test against the earlier, smaller lesson gave the same performance, so the new features did not slow the lesson down.
Challenges we ran into
- Not giving the answer away. Our first version showed the full explanation after any wrong answer, so learners could just read it. Now the first feedback is a hint about the specific mistake.
- Keeping messages to one SMS. Follow-up messages first ran to 2 SMS each. We shortened the template and add the "practise" nudge only when it still fits.
- Size. New features pushed lessons over 20 KB; copying only the lesson's own interface language brought them back to about 18 KB.
- Files opened from chat apps. Storage is sometimes blocked there. We added an in-memory fallback and a plain warning.
- Identical default names. Codes from different phones collided. Learners are now asked to add a name, and the decoder keeps different learners apart even when their code names match.
Accomplishments that we're proud of
- A complete loop, from teacher to learner and back to a targeted follow-up, that needs no server, no data plan and no account anywhere.
- Feedback that addresses the learner's actual mistake, in an 18 KB file.
What we learned
- "Offline" is not one feature: how the file arrives, where progress is stored, and how results get back all matter.
- The evidence says the follow-up is what helps learners, so the teacher's screen should end with what to send, not just a table.
- The first try matters more for a teacher than the final answer.
What's next
- Test on real low-end phones and with real screen readers (NVDA, TalkBack). Try it with one teacher and one class.
- Paste-a-lesson-from-text for faster writing; optional small images while watching file size.
Limitations (honest)
- Read aloud depends on the voices installed on each device.
- Some in-app chat browsers block storage. The lesson still works there but cannot keep progress, and it says so.
- The check character catches typos, not cheating; codes are for helping, not grading. Code names are 3 letters, so the teacher should ask learners to use distinct nicknames.
- Hints are only as good as what the teacher writes; without them, learners get a general nudge.
- Text and multiple-choice questions only. Sending SMS costs the learner a little credit, though far less than data.
- Offline and keyboard behaviour were verified in desktop Chrome with phone emulation, not yet on a real phone. The screen-reader check covered the accessibility tree; nobody has yet listened with a screen reader. No classroom testing yet.
Setup for judges
Open the online editor (link below) and press "Try a lesson as a learner". Pick a wrong answer to see its hint, finish the lesson, and copy the progress code. Paste it into section 3 of the editor and press "Show results" to see the follow-up plan. To test offline, download a sample lesson from "Get the files", switch on airplane mode, and open the file in a phone browser. No sign-up and no personal information are needed. Source code and links stay available through the judging period.
Built during the event, credits and AI disclosure
- All code, sample lessons and media were created during the event window, starting 2026-11-08. There is no pre-existing project.
- AI assistance: Claude (Anthropic) helped write the code, tests and text; the author reviewed and tested the result.
- No third-party runtime libraries. Development-only tools: puppeteer-core and Lighthouse.
- The sample lessons are synthetic. No real learner data is used anywhere.
- Evidence cited: Angrist et al., "Experimental evidence on learning using low-tech when school is out", Nature Human Behaviour (2022).
- Related tools compared: Kolibri, Kiwix, Internet-in-a-Box, RACHEL, Eneza, Read Along, single-file quiz tools on GitHub. Details are in DESIGN.md and PRODUCT_REVIEW.md in the repository.
Built With
- css
- github
- html
- javascript
- localstorage
- sms
- web-speech-api