Skip to content

Commit

Permalink
OPPIA-1626: Add more information for adding styles to quiz feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoMoreta committed Apr 16, 2024
1 parent 85d292a commit 8cbc41a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/styles/noorahealth/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -461,15 +461,15 @@ Quizzes and Feedback

The overall style for quizzes is defined directly in the app, so can't be changed within Moodle.

For the feedback responses, you can use the following styles:
For the feedback responses, you have to add the following styles under the "Feedback" field under each Moodle answer (using the HTML code view):

For correct response::

<feedback-result>
<feedback-card color="green">
<content>
<h1 color="green">Success!</h1>
<answer>Giving medical information to patients and families</answer>
<answer>"Giving medical information to patients and families"</answer>
<p>The purpose of a CCP session is to provide accurate medical information and skills to take care of the patient.</p>
</content>
</feedback-card>
Expand All @@ -483,7 +483,7 @@ For incorrect response::
<content>
<h1 color="pink">Oh no!</h1>
<p color="pink">The correct answer is:</p>
<answer>Giving medical information to patients and families</answer>
<answer>"Giving medical information to patients and families"</answer>
<p>The purpose of a CCP session is to provide accurate medical information and skills to take care of the patient.</p>
</content>
</feedback-card>
Expand Down

0 comments on commit 8cbc41a

Please sign in to comment.