This is a simple Trivia Game built using HTML, CSS, and JavaScript. It's designed to quiz users on various topics. Each question comes with multiple-choice answers, and the game keeps track of the user's score as they progress.
- Dynamically loaded trivia questions
- Scorekeeping functionality
- Visually appealing UI with Bootstrap 5
- Easy to add new questions or modify existing ones
- Basic knowledge of HTML, CSS, and JavaScript
- A modern web browser
-
Clone the repository:
git clone https://github.com/joshuadanpeterson/trivia-game.git
-
Open
index.html
in your web browser.
- Click the "New Question" button to load a new trivia question.
- Type your answer into the input field.
- Click the "Submit Answer" button to submit your answer.
- The game will display whether you got the answer correct and update your score accordingly.
index.html
: Contains the structure of the game.style.css
: Contains the styling for the game (if applicable).questions.js
: Contains the questions for the trivia game.trivia.js
: Contains the JavaScript logic for the game functionality.
- HTML
- CSS
- JavaScript
- Bootstrap 5
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE.md file for details.