Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 1.23 KB

File metadata and controls

66 lines (44 loc) · 1.23 KB

Trivia Quiz App

A modular, category‑based trivia quiz built with HTML, CSS, and JavaScript, featuring multiple quiz types, dynamic rounds, progress tracking, and a clean UI.

Features

The app supports a wide range of trivia categories:

  • 🇬🇧 UK Trivia
  • 🦸 DC Universe
  • 🎬 Movie Trivia
  • 📜 History
  • 🌍 Geography
  • ⚡ Mythology
  • 🎨 Art
  • ⚽ Sports
  • 🏛️ Politics
  • ⭐ Celebrities
  • 🐾 Animals

Each category contains 10 questions, except UK/DC/Movie which use multi‑round formats.

Project Structure

  • index.html — main entry point
  • src/ — JavaScript and style sources
  • public/ — static assets (if used)
  • package.json — project dependencies and scripts

Getting Started

Prerequisites

  • Node.js 18+ installed
  • npm (comes with Node.js)

Install dependencies

npm install

Run development server

npm run dev

After running the command, open the local URL shown in the terminal (usually http://localhost:5173) to view the app.

Build for production

npm run build

Preview production build

npm run preview

Notes

This project is meant for learning and prototyping. It uses Vite for fast local development and bundling.