Skip to content

4g-13Eh/Trivialand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trivialand

This is a web-based quiz application that allows users to test their knowledge on various topics. Users can customize their quiz settings, answer questions, and see their final score at the end.

Table of Contents

Features

  • Choose the number of questions, category, difficulty, and question type for the quiz.
  • Answer multiple-choice and true/false questions.
  • See your score update in real-time as you answer questions.
  • Timer for each question to add a sense of urgency.
  • Automatically move to the next question or finish the quiz when time runs out.
  • Customized end screen with your final score.

Getting Started

  1. Clone this repository to your local machine:

    git clone https://github.com/HUE-Dedf1sh/Trivialand.git
    
  2. Navigate to the project directory

    cd Trivialand
    
  3. Open the index.html file in your preferred web browser.

Usage

  1. Choose the quiz settings including the number of questions, category, difficulty, and question type.
  2. Click the "Start Quiz" button to begin the quiz.
  3. Answer the questions within the time limit and see your score update.
  4. If the timer runs out on the last question, the quiz will automatically end and show your final score.
  5. At the end of the quiz, your score will be displayed along with a congratulatory message.

Technologies Used

  • HTML5
  • CSS
  • JavaScript
  • Fetch API for API calls (Used the Open Trivia Database API for quiz questions)
  • Google Fonts for typography

License

This project is licensed under the MIT License.