1. Home
  2. Blueprints
  3. Quiz app

// blueprint · free template · works offline

Quiz App Template in HTML (Multiple Choice, Offline)

Quizzes are among the most popular simple apps — for revision, training, trivia nights and brand engagement. Write your questions, pick a colour and build.

live preview · tap around

Customisechanges stay in your browser

Original template: quiz-app.zip (4 KB zipped, 9 KB of files — far under the 5 MB free limit).

In shortA free, offline quiz app template written in plain HTML, CSS and JavaScript. Customise it here, download the ZIP and build it into a signed Android APK with the HTML & ZIP to APK builder — no Android Studio, no code required.

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

FileWhat it does
index.htmlPage shell with the viewport and safe-area settings
style.cssLayout, colours and automatic dark mode
data.jsYour content — the only file most people edit
app.jsThe app's behaviour; saves data on the phone with localStorage
README.txtShort instructions

Fields in data.js

FieldMeaning
questionsEach has q (the question), options (2–6 answers), answer (the index of the right option, starting at 0) and explain.
shuffletrue to mix the order each round.
name / tagline / accentTitle, subtitle and colour.

Build it into an APK

  1. Customise. Change the name, colour and content in the panel, or edit data.js after downloading.
  2. Download the ZIP. The ZIP has index.html at the top level, ready to build.
  3. Build the APK. Open HTML & ZIP to APK on your Android phone, choose the ZIP, set the icon and build.
  4. 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.

More blueprints

// ready when you are

Build your APK — free.

No Android Studio, no code, no watermark. Pick your input: