VirtMicro
Practice LabA little practice, every day
VirtMicro · Learn by doing

Build confidence. One quiz at a time.

Pick a topic or create your own.

Quiz library source

Load topics from a public GitHub repository or catalog JSON URL.

How to add a quiz · JSON format

Add your question file and a catalog entry in the quiz-library repository. The catalog creates the tiles; each quiz file supplies its questions.

1. Add a tile in catalog.json

Add an entry to the existing quizzes array. Keep version set to 1. The file URL is relative to the catalog.

{
  "version": 1,
  "title": "My quiz library",
  "quizzes": [
    {
      "id": "python",
      "title": "Python",
      "description": "Python fundamentals",
      "url": "quizzes/python.json"
    }
  ]
}

Keep the existing quiz entries when adding a new one. Each tile needs a unique id, a title, and a url; description is optional.

2. Create quizzes/python.json

{
  "version": 1,
  "title": "Python Fundamentals",
  "questions": [
    {
      "id": "python-001",
      "topic": "Collections",
      "question": "Which built-in type is immutable?",
      "options": ["list", "dict", "set", "tuple"],
      "answerIndex": 3,
      "explanation": "A tuple’s elements cannot be reassigned."
    }
  ]
}

3. Save and refresh

Commit the files to main in the library repository. Reload the app to see new tiles, or reopen a topic to fetch updated questions. No app deployment is needed. GitHub may cache updates briefly.