An open API service indexing awesome lists of open source software.

https://github.com/av-loginova/quiz

Quiz Application
https://github.com/av-loginova/quiz

react react-hooks react-router tailwindcss typescript vite

Last synced: 4 months ago
JSON representation

Quiz Application

Awesome Lists containing this project

README

          

# Quiz Application

This is a simple quiz application built using React. It fetches questions from an external API, presents them to the user, allows them to select answers, and provides feedback on their performance.
![Запись экрана 2024-03-13 в 17 39 53](https://github.com/AV-Loginova/Quiz/assets/129111624/a42e0a68-1b3b-46f4-8b5c-0e26bdd17c82)

## Features
- Fetches quiz questions from an external API
- Presents questions one at a time
- Allows users to select answers
- Provides instant feedback on correct and incorrect answers
- Displays the user's score at the end of the quiz
- Offers the option to restart the quiz

## Installation
1) Clone the repository
```
git clone https://github.com/AV-Loginova/Quiz.git
```
2) Navigate to the project directory
```
cd Quiz
```
3) Install dependencies
```
npm i
```
4) Run the application
```
npm run preview
```

## Usage
Simply run the application and start answering the quiz questions. Once you finish, you'll see your score and have the option to restart the quiz.

## Acknowledgments
Special thanks to the creators of the [Trivia API](https://the-trivia-api.com/) used for fetching quiz questions, and to the React community for providing valuable resources and support for building interactive web applications.