Quiz App is a web application built with React that allows users to take quizzes on various topics. It utilizes the nanoid library for generating unique IDs and fetches quiz questions from the Trivia API.
- Choose questions from a variety of quiz topics.
- Select the difficulty level (easy, medium or hard) for the quiz.
- Answer multiple-choice questions within a time limit.
- Submit the quiz and receive instant feedback on the results.
- Responsive design for a seamless experience on different devices.
- Clone the repository:
git clone https://github.com/Mash14/Quiz.git
- Navigate to the project directory:
cd Quiz
- Install the dependencies using npm:
npm install
- Start the development server:
npm start
- Open your browser and visit http://localhost:5173/ to access the Quiz App.
- Select a quiz topic from the available options.
- Choose the desired difficulty level (easy, medium, or hard) for the quiz.
- Answer the multiple-choice questions
- Submit your answers to see the results instantly.
- View your score and see which questions you answered correctly or incorrectly.
- React: A javascript library for building user interfaces.
- Nanoid: A secure, URL-friendly, unique string ID generator for Javascript.
- Trivia API: An API service that provides quiz questions on various topics.
- React Router: A library for client-side routing in React applications.
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
The author of this project was Alan Macharia
You can reach the developer by:
- Email: mashalonzo741@gmail.com
- Tel: 0704485919
There are no known bugs
The license information can be found here: MIT-License
Copyright (c)24/05/2023__Alan Macharia