Skip to content

adam-zielonka/questions

Repository files navigation

Questions

Created to learn some questions to pass the exam. The application use local storage to save progress and questions in your browser. This app also support PWA, so it is possible to install it on mobile devices form your browser.

You can try on: questions.adamzielonka.pro

File Format

You need json file similar to this:

[
  {
    "question": "Answer for this question is: ",
    "answers": [
      {
        "correct": true,
        "value": "This is true"
      },
      {
        "correct": true,
        "value": "This is false"
      },
      {
        "correct": false,
        "value": "This is also false"
      },
      {
        "correct": true,
        "value": "This is true, too"
      }
    ]
  }
]
property value
file [{question, answers}]
question String, accepted HTML code
answers [{correct, value}]
correct Boolean(true or false)
value String, accepted \n

You can find example file in this link: question file

Technologies