Created with create-react-app and Material UI
This quiz app works with JSON input questions and answers, below are the demos with sample JSONs.
- Supports code snippets - Referer json2
- Supports images - Refer json2
- Inline styles (Questions & answers) - Refer json2
- Responsive
- Supports multiple quizzes
Code snippet question:
Image questions with inline style answers
Clone or download and issue the below commands in project root directory and open http://localhost:3000/#/quiz1/http://localhost:3000/#/quiz2 in browser
npm install
npm start
- Create a JSON (for example name of the json is
temp
.json) with question and answers of the format - json2 - Place the JSON under
src/api/
- Re-run the application and access your quiz at http://localhost:3000/#/temp (temp is your name of JSON)
Feel free to customize to your own needs