WeBWorK Main Forum

Video feedback to students after they submit answers

Video feedback to students after they submit answers

by Utku Demir -
Number of replies: 1
Hi,

I have been looking for a way to give students customized feedback after they submit their answers. For example, assume a student enters a wrong answer. Instead of just saying the submitted answer is incorrect, I would like to display a message, such as "Oops, that's not an acceptable answer, please try again.", and I would like to give a YouTube video URL for them to watch before they submit another answer.
Is there a way to do this? Maybe it was asked and answered in here, but I haven't been able to find it. I would appreciate any guidance.
In reply to Utku Demir

Re: Video feedback to students after they submit answers

by Danny Glin -
In terms of customizing the "incorrect" message, one option is to mess with the localization files and change the English translation of "incorrect". I know this was described in the forum previously but I can't find the post right now. The problem with doing this is that it needs to be maintained every time WeBWorK is upgraded.

Regarding posting a URL as a hint to students, check out http://webwork.maa.org/wiki/AnswerHints for some options on providing hints to students. You should be able to add the following code to your problem:

$showHint = 2;
BEGIN_HINT
Watch \{ htmlLink( "http://www.youtube.com/videolink", "this video" ) \} for help with this problem.
END_HINT

This is untested, but should show the hint after 2 attempts.