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
Add the Quiz Card tutorial template (tutorial-quiz-card) #73
Part of #5. "Quiz of the day" cards are popular with educators. This is also the first template to use the toggle field type.
Idea
A "Quiz" pill plus a category pill at the top, then the question in large type. Below are 4 option boxes in a 2x2 layout (two flex rows), each with a letter badge (A to D). When "Show answer" is on, the correct option gets an accent background and a "Correct" tag.
Template details
File: src/templates/tutorial/quiz-card.ts, id tutorial-quiz-card
Fields: commonFields.title (question), optionA to optionD (text), correctOption (select: A / B / C / D), showAnswer (toggle, default false), commonFields.category, commonFields.bgColor, commonFields.accentColor, commonFields.textColor
One template per contributor at a time, so more people get a chance.
Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #<this issue number>.
Hey @piyusshhjangid, it's yours, as your second next to chatcops #233! The editor already draws toggle fields (CustomizePanel.tsx, line 131), so the template only needs the field. The editor also reads ?showAnswer=1 as on (EditorApp.tsx, line 83), so it'd be good if the template took '1' too.
Activity
piyusshhjangid commentedon Oct 20, 2026
hi @anurag629 i would like to take this on
anurag629 commentedon Oct 20, 2026
Hey @piyusshhjangid, it's yours, as your second next to chatcops #233! The editor already draws
togglefields (CustomizePanel.tsx, line 131), so the template only needs the field. The editor also reads?showAnswer=1as on (EditorApp.tsx, line 83), so it'd be good if the template took'1'too.