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
<p>You can use this template as a guide to the simple editor markdown and OLX markup to use for text input with hints and feedback problems. Edit this component to replace this template with your own assessment.</p>
569
+
<label>Add the question text, or prompt, here. This text is required.</label>
570
+
<description>You can add an optional tip or note related to the prompt like this. </description>
571
+
<additional_answer answer="optional acceptable variant of the correct answer"/>
572
+
<stringequalhint answer="optional incorrect answer such as a frequent misconception"><p>You can specify optional feedback for none, a subset, or all of the answers.</p></stringequalhint>
573
+
<stringequalhint answer="another optional incorrect answer such as a frequent misconception"><p>You can specify feedback again.</p></stringequalhint>
574
+
<textline size="20"/>
575
+
</stringresponse>
576
+
<demandhint>
577
+
<hint><p>You can add an optional hint like this. Problems that have a hint include a hint button, and this text appears the first time learners select the button.</p></hint>
578
+
<hint><p>If you add more than one hint, a different hint appears each time learners select the hint button.</p></hint>
579
+
</demandhint>
580
+
</problem>`,
581
+
hints: [{
582
+
id: 0,
583
+
value: '<p>You can add an optional hint like this. Problems that have a hint include a hint button, and this text appears the first time learners select the button.</p>',
584
+
},
585
+
{
586
+
id: 1,
587
+
value: '<p>If you add more than one hint, a different hint appears each time learners select the hint button.</p>',
588
+
},
589
+
],
590
+
data: {
591
+
answers: [
592
+
{
593
+
id: 'A',
594
+
title: 'the correct answer',
595
+
correct: true,
596
+
selectedFeedback: '',
597
+
},
598
+
{
599
+
id: 'B',
600
+
title: 'optional acceptable variant of the correct answer',
601
+
correct: true,
602
+
selectedFeedback: '',
603
+
},
604
+
{
605
+
id: 'C',
606
+
title: 'optional incorrect answer such as a frequent misconception',
607
+
correct: false,
608
+
selectedFeedback: '<p>You can specify optional feedback for none, a subset, or all of the answers.</p>',
609
+
},
610
+
{
611
+
id: 'D',
612
+
title: 'another optional incorrect answer such as a frequent misconception',
613
+
correct: false,
614
+
selectedFeedback: '<p>You can specify feedback again.</p>',
615
+
},
616
+
],
617
+
additionalStringAttributes: {
618
+
type: 'ci',
619
+
textline: {
620
+
size: '20',
621
+
},
622
+
},
623
+
},
624
+
question: `<p>You can use this template as a guide to the simple editor markdown and OLX markup to use for text input with hints and feedback problems. Edit this component to replace this template with your own assessment.</p>
625
+
<label>Add the question text, or prompt, here. This text is required.</label>
626
+
<em class="olx_description">You can add an optional tip or note related to the prompt like this. </em>`,
<p>You can use this template as a guide to the simple editor markdown and OLX markup to use for text input with hints and feedback problems. Edit this component to replace this template with your own assessment.</p>
630
+
<label>Add the question text, or prompt, here. This text is required.</label>
631
+
<em>You can add an optional tip or note related to the prompt like this.</em>
632
+
<correcthint><p>You can specify optional feedback like this, which appears after this answer is submitted.</p></correcthint>
633
+
<additional_answer answer="optional acceptable variant of the correct answer"></additional_answer>
634
+
<stringequalhint answer="optional incorrect answer such as a frequent misconception"><p>You can specify optional feedback for none, a subset, or all of the answers.</p></stringequalhint>
635
+
<textline size="20"></textline>
636
+
</stringresponse>
637
+
<demandhint>
638
+
<hint><p>You can add an optional hint like this. Problems that have a hint include a hint button, and this text appears the first time learners select the button.</p></hint>
639
+
<hint><p>If you add more than one hint, a different hint appears each time learners select the hint button.</p></hint>
0 commit comments