Code Monkey home page Code Monkey logo

react-quiz's Introduction

Sample React Quiz App

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.

  1. demo1, json1
  2. demo2, json2
Features:
  1. Supports code snippets - Referer json2
  2. Supports images - Refer json2
  3. Inline styles (Questions & answers) - Refer json2
  4. Responsive
  5. Supports multiple quizzes
Screenshots of the quiz app

Code snippet question: image1 Image questions with inline style answers image2

To run in Local

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

How to create new set of questions?

  1. Create a JSON (for example name of the json is temp.json) with question and answers of the format - json2
  2. Place the JSON under src/api/
  3. 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

react-quiz's People

Contributors

sridharbandi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.