Skip to content

kang-matthew/scribble-question

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scribble-question

Simple questions in Scribble for "check your understanding" type of questions.

Supported Problem Types

"Questions" consists of a list of problems. Here are the problem types supported:

  • Multiple-choice
  • Multiple-select

Examples

Questions can be written in the syntax below:

@(question 
  "Statement: Why did the chicken cross the road?"
  (list (multiple-choice "True or False: 'This joke is funny'"
                         (list (option "True" #true)
                               (option "False" #false)))
        (multiple-select "What can go after the statement?"
                         (list (option "To get to the other side." #true)
                               (option "They had a green light." #true)
                               (option "Knock knock." #false))))
  "Hint: Try to be funnier."
  "Explanation: If a joke needs to be explained, it's usually not funny.")

Which renders to: screenshot-1

And you can select/check some option and view the Hint. screenshot-2

Questions can be incorrect if one of its problems are incorrect. screenshot-2

When submitted with all problems correct, it displays the explanation. screenshot-2

About

Simple questions in Scribble

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published