Skip to content

JavascriptDon/TriviaQuiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors