KnowledgeCheck

H5P equivalent

H5P Multiple Choice

When to use

KnowledgeCheck is a deprecated alias of Quiz with identical behavior and telemetry. Use Quiz in new code; keep this name only when maintaining legacy courses or manifests that already import KnowledgeCheck.

Requirements

Same as Quiz: requires checkId, question, choices, and answer inside an active Lesson.

Try it

Documentation demo

Use the Live demo, React, AI prompt, and Packaging / Manifest tabs below. Embedded demos disable telemetry, xAPI, and the LMS bridge. For production delivery, use the CLI template src/courseConfig.ts and LMS Go-Live.

// Prefer Quiz in new projects:
import { Quiz } from "@lessonkit/react";

// Legacy alias (still supported):
<KnowledgeCheck
  checkId="kc-demo"
  question="Which channel is approved for password resets?"
  choices={[
    "Self-service portal linked from the intranet",
    "Reply to the email that prompted the reset",
  ]}
  answer="Self-service portal linked from the intranet"
/>

Copy into Cursor, Copilot, or ChatGPT after the vibe coding starter context:

Read lessonkit.json and src/App.tsx before editing.

Add a KnowledgeCheck block (H5P-style: Multiple Choice) like this example inside the active <Lesson>:

// Prefer Quiz in new projects:
import { Quiz } from "@lessonkit/react";

// Legacy alias (still supported):
<KnowledgeCheck
  checkId="kc-demo"
  question="Which channel is approved for password resets?"
  choices={[
    "Self-service portal linked from the intranet",
    "Reply to the email that prompted the reset",
  ]}
  answer="Self-service portal linked from the intranet"
/>

Requirements:
- Import only from @lessonkit/react; use block types from block-catalog.v3.json.
- Keep existing courseId, lessonId, and navigation stable unless I ask to add a lesson.
- Prefer importing Quiz in new code; KnowledgeCheck is a deprecated alias with identical behavior.
Sync lessonkit.json — add under course.assessments[]:

{
  "checkId": "kc-demo",
  "kind": "mcq",
  "question": "Which channel is approved for password resets?",
  "choices": ["Self-service portal linked from the intranet", "Reply to the email that prompted the reset"],
  "answer": "Self-service portal linked from the intranet"
}

- After edits, list changed files and what to verify in the browser (lessonkit dev).

Workflow tips: https://lessonkit.readthedocs.io/en/latest/guides/vibe-coding/prompting-and-workflows.html

Same manifest shape as Quiz. Prefer importing Quiz in new React code.

{
  "checkId": "kc-demo",
  "kind": "mcq",
  "question": "Which channel is approved for password resets?",
  "choices": ["Self-service portal linked from the intranet", "Reply to the email that prompted the reset"],
  "answer": "Self-service portal linked from the intranet"
}

See also