Match List Question
An ISLE component that renders a question in which the learner has to match elements from two lists with each other in the correct way.
Options
- question |
(string|node): question to be displayed at the top of the match list question component. Default:''. - elements |
array<{a,b}>: anarrayholding the correct pairs displayed at the top of the free text question component. Eacharrayelement must be anobjectwithaandbproperties; supply elements with onlyaorbproperties to add distractor answers. Default:[]. - hintPlacement |
string: placement of the hints (eithertop,left,right, orbottom). Default:'bottom'. - hints |
array<(string|node)>: hints providing guidance on how to answer the question. Default:[]. - provideFeedback |
boolean: indicates whether the solution should be accessible after learners submit their answers. Default:true. - feedback |
boolean: controls whether to display feedback buttons. Default:true. - chat |
boolean: controls whether the element should have an integrated chat. Default:false. - colorScale |
array: if set, the supplied colors are used for the tiles. Default:none. - shuffle |
string: specifies whether to shuffle theleft,right, orbothcolumns whose elements have to be matched; supplynoneor any other value to not shuffle elements on either side (may be useful in case when there is no solution present). Default:'both'. - disableSubmitNotification |
boolean: controls whether to disable submission notifications. Default:false. - submissionMsg |
string: notification displayed when the learner first submits his answer. Default:'You have successfully submitted your answer.'. - resubmissionMsg |
string: notification displayed for all submissions after the first one. Default:'You have successfully re-submitted your answer.'. - until |
Date: time until students should be allowed to submit answers. Default:none. - points |
number: maximum number of points awarded in grading. Default:10. - className |
string: class name. Default:''. - style |
object: CSS inline styles. Default:{}. - onChange |
function: callback invoked when students changes an answer. Default:onChange() {}. - onSubmit |
function: callback invoked when students submits an answer. Default:onSubmit() {}.
Examples
- Minimal
- With Markdown
- With Solution & Style
- Shuffle Right
- Points for Grading
Live Editor
Result
ReferenceError: Provider is not defined