Students will get web-based feedback in the exercise template immediately when the exercise is submitted. Web-based feedback can handle multiple choice and fill in the blanks questions. In addition to web-based feedback there will remain possibility to get feedback by e-mail. Filling up the e-mail feedback for is not required for submitting the exercise.
Web-based feedback for fill in the blanks questions can be presented with the following XHTML code:
<p>A: Hi, John! What <span class="incorrect_fitb">will you</span> <span class="corrected_fitb">will you do</span> (do) this summer?<br/>
B: I’m not sure yet, but I think <span class="correct_fitb">I will visit</span> (visit) my friends in Australia.</p>
If the text that user entered in the blank was not correct (class="incorrect_fitb"), then the correct answer will be displayed after that (class="corrected_fitb"). Space between </span> and <span> is important!
http://lemill.org/trac/attachment/ticket/1724/fitb_feedback.png?format=raw
Web-based feedback for multiple choice questions can be presented with the following XHTML code:
<p>(understand you) what I am trying to say?</p>
<p>
<span class="incorrect_mc"><input type="checkbox" value="0" id="exercise_2_checkbox_0" name="exercise_2_checkbox_0" />Do you understand</span><br />
<span class="incorrect_mc"><input type="checkbox" value="1" id="exercise_2_checkbox_1" name="exercise_2_checkbox_1" checked="checked" class="incorrect_mc" />Are you understanding</span>
</p>
<p>He (work) very hard this month.</p>
<p>
<span class="correct_mc"><input type="checkbox" value="1" id="exercise_3_checkbox_1" name="exercise_3_checkbox_1" class="correct_mc" />works</span><br />
<span class="correct_mc"><input type="checkbox" value="0" id="exercise_3_checkbox_0" name="exercise_3_checkbox_0" checked="checked" class="correct_mc" />is working</span>
</p>
http://lemill.org/trac/attachment/ticket/1724/mc_feedback.png?format=raw
CSS code for classes used in the XHTML:
.correct_fitb, .correct_mc {
color: green;
background-color: #cceecc;
}
.incorrect_fitb {
color: red;
background-color: #eecccc;
text-decoration: line-through;
}
.corrected_fitb, .incorrect_mc {
color: red;
background-color: #eecccc;
}