# Changing Color of Result Based on Correct or Incorrect Answer

**URL:** <https://community.gravityforms.com/t/changing-color-of-result-based-on-correct-or-incorrect-answer/5967>\
**Category:** Get Help\
**Tags:** quiz, css\
**Created:** [September 1, 2020, 6:23pm UTC](https://community.gravityforms.com/t/changing-color-of-result-based-on-correct-or-incorrect-answer/5967 "2020-09-01T18:23:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5f4558760a98d997](https://avatars.discourse-cdn.com/v4/letter/u/ad7895/32.png) [@user5f4558760a98d997](https://community.gravityforms.com/u/user5f4558760a98d997)\
**Post date:** [September 1, 2020, 6:23pm UTC](https://community.gravityforms.com/t/changing-color-of-result-based-on-correct-or-incorrect-answer/5967/1 "2020-09-01T18:23:12Z")

</div>

Hi! I’m trying to figure out how to have the answers on the results page show up differently based on if they are correct or incorrect. So, for instance, “No” is always incorrect on this quiz. I’d like for all the "No"s to show up in red on the results page and all the "Yes"s to show up in green. Is that possible?

This is the results page as it is now. Thank you!!

[image|690x273](https://community.gravityforms.com/uploads/short-url/6jG0Pl1LoWY80FyhRnhPw9a1eD6.png)

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [September 2, 2020, 2:14pm UTC](https://community.gravityforms.com/t/changing-color-of-result-based-on-correct-or-incorrect-answer/5967/2 "2020-09-02T14:14:26Z")

</div>

Hi Patty. What does the content of your confirmation look like? When I use the {all\_quiz\_results} helper, mine looks like this:

> **[firefox hbMlHMMwWR.png](https://d.pr/i/HS82su)**
>
> Shared with Droplr

Can you share a link to the page on your site where we can test the quiz and see if there is anything in the confirmation we can use to style those answers? For example, I can do this to turn an incorrect choice red:

```auto
div.gform_confirmation_wrapper li.gquiz-incorrect-response {
  color:red;
}

```

Thank you.

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 4, 2022, 5:55pm UTC](https://community.gravityforms.com/t/changing-color-of-result-based-on-correct-or-incorrect-answer/5967/3 "2022-01-04T17:55:24Z")

</div>


