Value attribute with ckeckboxes

Hello, I want to have a help about some lines of code:


<label><input type="checkbox" name="personality" value="energetic"> energetic</label>.

when I run it this message appear: " One of your checkboxes should have the value attribute of energetic." I dont know that appendedPreformatted text`

I don’t get any errors withe that line of code. Could you give more context (surrounding code)? Also, if you are working on a challenge, could you post a link to it so we know what you are trying to accomplish (or explain what you are trying to do)? Finally, you might want to edit the formatting of your error, it’s hard to read.

OK themagicbean! Thank you very much for your availability to respond to my concerns. I am working on a challenge and this concerns the use of the ‘value’ attribute with radio buttons and check boxes
I then give you the entire transcript of the code.

<form action="/submit-cat-photo">

    <label><input type="radio" name="indoor-outdoor" value="indoor"> Indoor</label>

    <label><input type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label><br>

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

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

    <label><input type="checkbox" name="personality" value="energetic"> energetic</label><br>

    <input type="text" placeholder="cat photo URL" required>

    <button type="submit">Submit</button>

  </form>

…and link the challenge?

Your issue is that you have made the label text lowercase, when it should have the first letter capitalized.


Next time, please, if you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

Hello!
Just write Energetic with capital letter not with small letter.
hope this will help you.

Hi.
This looks like the lesson on Value attribute with radio buttons from the CSS curriculum.

Here is the important stuff:
adding value=

Simply move value=“indoor” after <input type=“radio”. Then rinse and repeat the remaining radiobox and checkboxes.

Looks like : <input type=“radio” value="indoor"name=“indoor-outdoor”> Indoor

Good luck, and you got this!