Skip to content

aayanaqdas/quizzical

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 11, 2025
ddd1aff · · Aug 11, 2025

History

6 Commits
Aug 10, 2025
Aug 11, 2025
Aug 10, 2025
Aug 11, 2025
Aug 10, 2025
Aug 10, 2025
Aug 11, 2025
Aug 11, 2025
Aug 10, 2025

Repository files navigation

Quizzical

Quizzical is a fun and interactive trivia quiz app built with React and Vite. It fetches questions from the Open Trivia Database and allows users to customize their quiz experience by selecting category, difficulty, type, and number of questions.

Features

  • Choose trivia category, difficulty, type, and number of questions
  • Fetches fresh questions from the Open Trivia Database API
  • Responsive UI
  • Loading indicator while fetching questions
  • Local storage categories for faster load times

Installation

  1. Clone the repository:
    git clone https://github.com/aayanaqdas/quizzical.git
    
    cd quizzical
  2. Install dependencies:
    npm install

Running the App

Start the development server:

npm run dev

Open http://localhost:5173 in your browser to view the app.

Usage

  1. Select your preferred quiz options (category, difficulty, type, number of questions).
  2. Click Start quiz.
  3. Answer the questions presented.
  4. See your results at the end and try again!

API Reference