Skip to content

Instantly share code, notes, and snippets.

Created January 4, 2023 11:21
What would you like to do?
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