I am trying to get Checkbox Display text. For Example;

  type: checkboxes
  instructions: Choose up to 3 favorite foods.
    donuts: Donuts
    icecream: Ice Cream
    brownies: Brownies

I can get the "icecream" as a value when I use {{ value }} inside template file.

But I want to use "Ice Cream" too. Using value as a class. And want to define "Ice Cream" as a text.

Want to shown like this;
<div class="project-goal"> <span class="icecream"></span>Ice Cream</div>

<div class="project-goal"> <span class="{{ value }} "></span>{{ ???? }}</div>

What should I type to reach "Ice Cream" {{ ???? }}

Thanks for help, Ozan