You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement quiz/assessment system for tutorials #5026
Readers have no way to self-assess their understanding. Without a quiz at the end of each tutorial, there is no feedback loop for the reader to know if they understood the material.
Proposed Solution
Add an optional quiz block to the Docusaurus MDX format using a custom React component:
importQuizfrom'@site/src/components/Quiz';
<Quizquestions={[
{
question: "What is the time complexity of binary search?",
options: ["O(n)", "O(log n)", "O(n log n)", "O(1)"],
correct: 1,
explanation: "Binary search halves the search space at each step, giving O(log n)."
}
]}
/>
The component renders a multiple-choice question card, reveals the explanation after answering, and shows a score summary at the end of a multi-question quiz.
Additional Context
Level 3 feature. Quiz component must be keyboard-accessible (navigate options with arrow keys, confirm with Enter).
Hi @anshul23102! Thanks for opening this issue. We appreciate your contribution to this open-source project. Your input is valuable and we aim to respond or assign your issue as soon as possible. Thanks again!
Activity
github-actions commentedon Jul 2, 2026
Hi @anshul23102! Thanks for opening this issue. We appreciate your contribution to this open-source project. Your input is valuable and we aim to respond or assign your issue as soon as possible. Thanks again!
anshul23102 commentedon Jul 2, 2026
@codeharborhub Could you please assign/ this issue to me? I would like to work on it under GSSOC '26.
Implement quiz/assessment component for tutorials (issue #5026)
github-actions commentedon Jul 30, 2026
Hello @anshul23102! Your issue #5026 has been closed. Thank you for your contribution!