Skip to content

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

Ritik β€” ritiku2004

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages