| WrongFeedback-class | R Documentation |
Class WrongFeedback is responsible for delivering feedback messages
to the candidate in case of an incorrect answer on the entire exercise.
outcome_identifierA character representing the unique identifier of the outcome declaration variable that relates to feedback. Default is "FEEDBACKMODAL".
showA boolean value, optional, determining whether to show (TRUE) or
hide (FALSE) the modal feedback. Default is TRUE.
titleA character value, optional, representing the title of the modal feedback window.
contentA list of character content to form the text of the modal feedback, which can include HTML tags.
identifierA character value representing the identifier of the modal feedback item. Default is "incorrect".
wfb <- new("WrongFeedback",
title = "Wrong answer",
content = list("<b>Some demonstration</b>"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.