Skip to content

ritiku2004/Quick-Quize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❓ Quick Quiz

Quick Quiz is a fun and interactive web-based quiz application that lets users test their knowledge across multiple categories. It features a clean, dark-themed UI, pulls questions from a live API, and gives instant score feedback.

🚀 Live Demo

🌐 View Deployment

✨ Features

  • Multiple Categories: General Knowledge, History, Politics, Geography, Computer Science, Animals.
  • Dynamic Questions: Fetched in real-time from the Open Trivia Database (OpenTDB) API.
  • Interactive Interface: 10 multiple-choice questions with shuffled options.
  • Score Tracking: Updates score as the quiz progresses.
  • Final Score Card: Displays score out of 10.
  • Rules Modal: Pop-up with quiz guidelines.
  • Anti-Cheat: Ends quiz if tab is switched or window resized.
  • Responsive Design: Works seamlessly on desktop and mobile.

🛠 Technologies Used

📌 How It Works

  1. User selects a category.
  2. Rules modal explains quiz guidelines.
  3. 10 questions are fetched from API.
  4. One question shown at a time, score updates instantly.
  5. Final score displayed, with option to return to main menu.

🔧 Setup & Installation

# Clone the repository
git clone https://github.com/ritiku2004/Quick-Quize.git

# Navigate to the project folder
cd Quick-Quize

Open index.html in your browser.

No API key required.

📂 Code Structure

  • index.html — Layout, rules modal, quiz container.
  • style.css — Dark theme, layout, responsive design, transitions.
  • script.js — Handles UI events, API calls, score tracking, anti-cheat logic.

👤 Author

Ritikritiku2004

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors