The React Trivia Question App is a web application built with React that presents users with a set of random trivia questions. Users are required to answer the questions, and upon submitting their answers, they receive feedback on their performance. The project fetches trivia questions from the Open Trivia Database API and provides an interactive and engaging trivia experience.
https://quizzical-sham.netlify.app/
- Display a set of 5 random trivia questions.
- Allow users to answer the questions.
- Provide feedback on the correctness of the answers.
- Simple and responsive user interface.
This project is developed using the following technologies:
- React
- HTML
- CSS
- Open Trivia Database API
- Clone or download the repository to your local machine.
- Install the necessary dependencies by running npm install in the project directory.
- Obtain an API token from Open Trivia Database (optional but recommended for better API usage).
- Replace the placeholder API token in the project code with your own token (if obtained).
- Start the development server by running npm start.
- Open the application in your web browser.
- Answer the 5 trivia questions displayed on the screen.
- Click the "Check Answer" button to submit your answers and view the results.