Pieter1821 / TRIVIA-X

A simple React-based trivia game that fetches quiz questions from the Open Trivia Database API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trivia-X

Features

  • Multiple-choice trivia questions with timers.
  • Score tracking.
  • Responsive design.

Demo

Live Demo

Usage

  1. Enter your name and click "Let's Play" to start.
  2. Answer trivia questions by selecting options.
  3. Timer counts down for each question.
  4. Score and total questions answered are displayed.
  5. Game over modal shows your final score.

Installation

  1. Clone the repository.
  2. Install dependencies: npm install.
  3. Start the server: npm start.

Customization

  • Adjust game settings in App.js.
  • Customize styling by updating CSS classes.

Technologies Used

  • React
  • Axios for API requests
  • CSS for styling

Acknowledgments

License

MIT License

About

A simple React-based trivia game that fetches quiz questions from the Open Trivia Database API.


Languages

Language:JavaScript 96.1%Language:HTML 2.6%Language:CSS 1.2%