Skip to content

mateen993/quiz-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

coding-round

getting all the questions from the question.json

mapping all the questions and extracting the question text and options

rendering only one at a time and when answer is selected, show whether the answer is correct or not

next question button is there to go to the next question

this achieved by useState

handling the correct answer functionality, a function

image

image

Minimum score and maximum score are also shown below

image image

CSS file is globally used for styling the app located in the /coding/src/App.css

2 components are created namingly Quiz.js (for UI and all logic of the app) and Answer.js (to show whether the answer is correct depending upon the props passed to this component)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors