claurennt / react-quiz-app

A small React quiz app with react Context and LocalStorage

Home Page:https://react-tiny-quiz-app.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Quiz App

The purpose of this project was to create a small quiz app with React + Typescript, Context API, LocalStorage and a Componentization Approach.

The project has few controls, it is almost fully automated. At the beginning the user has the possiblity to choose the difficulty level of the questions. After clicking on the begin button, the first question will displayed. Each following question will appear 1 second after the user will answer. At the end of the set of questions, the user will be automatically redirected to the results page, where the score and the overwie of the questions (correct or wrong) are displayed. Moreover, the user will have the possiblity to play again by clicking on a button.

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

About

A small React quiz app with react Context and LocalStorage

https://react-tiny-quiz-app.netlify.app/


Languages

Language:JavaScript 90.4%Language:TypeScript 5.3%Language:HTML 2.2%Language:CSS 2.1%Language:Shell 0.0%