Step 59 HTML the value attribute on a checkbox

I can’t get my value set right with my checkbox I’ve looked through the forum for help but have not found any yet. I know my code is wrong on the value attribute but I need assistance to move on help would be much appreciated.
Thank you.

<fieldset>

            <legend>What's your cat's personality?</legend>

    <input id=" loving " type="checkbox" name="personality" value= "loving"/"loving"> <label for="loving">Loving</label>

        <input id=" lazy " type="checkbox" name="personality"  value="lazy"/"lazy"> <label for="lazy">Lazy</label>

 <input id=" energetic " type="checkbox" name="personality" value= "energetic"/"energetic"> <label for="energetic">Energetic</label>

          </fieldset>

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Why the odd slash and everything after it?

Why the spaces here?

just trying anything to see if it works

Trying things that you don’t see anywhere in any examples doesn’t usually work. Sometimes it can, but typically syntax is very exact.

All of the attributes should be attribute="value"

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