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

https://github.com/azkasahar/quiz-app


https://github.com/azkasahar/quiz-app

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# quiz-app
# Quiz App

![image](https://github.com/user-attachments/assets/f8a1a9d0-c9ac-47d2-9299-e653a59ef946)

## Overview

The Quiz App is a web-based application that allows users to play a quiz game and save their scores. It includes features such as random question generation, score tracking, and a high score leaderboard.

## Features

- Randomly generated quiz questions from an API
- Score tracking and display
- Saving high scores locally using `localStorage`
- Responsive design for various screen sizes

## Technologies Used

- HTML5
- CSS3 (with Flexbox for layout)
- JavaScript (ES6)

## Setup Instructions

1. **Clone the repository:**

```
git clone https://github.com/AzkaSahar/quiz-app.git
cd quiz-app
```

2. **Open the project:**

Open the `app.html` file in your web browser.

3. **Play the Quiz:**

- Answer the quiz questions displayed.
- Track your score and try to get as many correct answers as possible.

## Screenshots
![image](https://github.com/user-attachments/assets/c61cbb0f-8fe8-4780-a7dc-1ef909d62ec5)
![image](https://github.com/user-attachments/assets/bbb7e5ba-acdb-40d9-bd25-8ef636cbe88d)

## Credits

- Quiz questions fetched from [Open Trivia Database API](https://opentdb.com/api_config.php).
- Background image from [Freepik](https://www.freepik.com/).