Difference between revisions of "Flow"
From Future Skill
Line 17: | Line 17: | ||
|- | |- | ||
| hint || A hint to the user that can help it if needed | | hint || A hint to the user that can help it if needed | ||
+ | |- | ||
| explanation || A more detailed explanation of the question's context | | explanation || A more detailed explanation of the question's context | ||
+ | |- | ||
| option-correct || The correct answer to the quiz | | option-correct || The correct answer to the quiz | ||
+ | |- | ||
| option || An incorrect answer to the quiz | | option || An incorrect answer to the quiz | ||
+ | |- | ||
| feedback-correct || The text that is shown to the user if it answers correctly | | feedback-correct || The text that is shown to the user if it answers correctly | ||
+ | |- | ||
| feedback-incorrect || The text that is shown to the user if it answers incorrectly | | feedback-incorrect || The text that is shown to the user if it answers incorrectly | ||
+ | |- | ||
|} | |} | ||
+ | |||
''Note that all tags are requried, but if for example [hint] or [explanation] is left empty they will not render in the flow.'' | ''Note that all tags are requried, but if for example [hint] or [explanation] is left empty they will not render in the flow.'' |
Revision as of 10:58, 18 September 2024
A flow is an overlay that is displayed before the user attempts an exercise level. This flow should typically contain an overview description of the level with some images, quizzes, and/or interactive canvas.
Tags
Quiz
A quiz is a quistion/answer section that the user can interact with and get either right or wrong.
Name | Description |
---|---|
quiz | The main wrapping tag |
question | The question that is prompted to the user |
hint | A hint to the user that can help it if needed |
explanation | A more detailed explanation of the question's context |
option-correct | The correct answer to the quiz |
option | An incorrect answer to the quiz |
feedback-correct | The text that is shown to the user if it answers correctly |
feedback-incorrect | The text that is shown to the user if it answers incorrectly |
Note that all tags are requried, but if for example [hint] or [explanation] is left empty they will not render in the flow.