What's included
- Questions shuffled on every round
- Right and wrong answers highlighted
- Optional explanation after each answer
- Progress bar
- Best score saved on the phone
Who it's for
- Teachers making revision apps for a class
- Company onboarding and safety training
- Trivia for clubs, events and pub nights
- Driving-theory or certification practice
Files in the ZIP
| File | What it does |
|---|---|
index.html | Page shell with the viewport and safe-area settings |
style.css | Layout, colours and automatic dark mode |
data.js | Your content — the only file most people edit |
app.js | The app's behaviour; saves data on the phone with localStorage |
README.txt | Short instructions |
Fields in data.js
| Field | Meaning |
|---|---|
questions | Each has q (the question), options (2–6 answers), answer (the index of the right option, starting at 0) and explain. |
shuffle | true to mix the order each round. |
name / tagline / accent | Title, subtitle and colour. |
Build it into an APK
- Customise. Change the name, colour and content in the panel, or edit data.js after downloading.
- Download the ZIP. The ZIP has index.html at the top level, ready to build.
- Build the APK. Open HTML & ZIP to APK on your Android phone, choose the ZIP, set the icon and build.
- Install and share. Install the signed APK, or build an AAB with Pro for Google Play.
Make it your own
Split questions into topics by adding a topic field and a topic picker on the start screen. For hundreds of questions, keep data.js plain text — 500 questions is still only about 100 KB.
Why no frameworks? Plain scripts and a data.js file work when an app opens its files directly from storage, where ES modules and fetch() can fail. See relative paths for offline apps and making a web app feel native.
Questions
How many questions can the quiz hold?
Hundreds. Text is tiny; even a large question bank stays far below the 5 MB free bundle limit.
Can I add images to questions?
Yes. Add an image field and an img tag in the question view; compress the images.
Can I convert a spreadsheet of questions?
Yes. Export it as CSV and turn each row into an object in data.js — the customiser on this page accepts the JSON directly.