Survey Project- Checkboxes Value Attribute

The Runtests say that I need to add a value attribute of 4 to 3 (?) to my checkboxes. I have the value attribute with all my checkboxes; however, it has not taken any of the values I have added. What is the correct value for my checkboxes?

This is my Pen

Hi Again! You accidentally used a colon instead of an equals sign to set the value attribute.

Screenshot from 2021-06-25 06-45-15

set it to

value="Romantic"

and it should work just fine.

Once again, thank you so much! I guess I just need to be more careful with my syntax.

@etiemrivera, a suggestion for you.
Switch the Syntax Highlighting on Codepen to help catch errors. Go to your Codepen profile settings (not the setting for the pen, but for your profile). Switch the Syntax Highlighting to Oceanic Dark and save the setting. Go back to the pen and make sure your new setting is working. The code highlighting will be using different colors. Errors will now be marked in red.

1 Like

Thank you! I changed it and it has been such a tremendous help!

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.