Skip to content

Instantly share code, notes, and snippets.

@carmoreira
Created January 4, 2023 11:21
Show Gist options
  • Save carmoreira/b9879a9be5ec08be924cb72e2b5241ea to your computer and use it in GitHub Desktop.
Save carmoreira/b9879a9be5ec08be924cb72e2b5241ea to your computer and use it in GitHub Desktop.
Advisor quiz - answer commentary with color code for correct or incorrect answers
/* Incorrect */
.advq_question_container:has(li.quiz_incorrect_answer) .advq_answer_commentary { background:red !important; color:#fff !important; }
/* Correct */
.advq_question_container:has(li.quiz_correct_answer) .advq_answer_commentary { background:green !important; color:#fff !important; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment