A modular, category‑based trivia quiz built with HTML, CSS, and JavaScript, featuring multiple quiz types, dynamic rounds, progress tracking, and a clean UI.
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.
index.html— main entry pointsrc/— JavaScript and style sourcespublic/— static assets (if used)package.json— project dependencies and scripts
- Node.js 18+ installed
- npm (comes with Node.js)
npm installnpm run devAfter running the command, open the local URL shown in the terminal (usually http://localhost:5173) to view the app.
npm run buildnpm run previewThis project is meant for learning and prototyping. It uses Vite for fast local development and bundling.