Use the value attribute with Radio Buttons and Checkboxes(not working)

Tell us what’s happening:
I keep trying to run the test but it keeps falling because " One of your checkboxes should have the value attribute of energetic." I did that line the same way as the other ones. But for some reason, it will not accept it. Can anyone help me as to why? Thank you!

Your code so far

<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
  <li>cat nip</li>
  <li>laser pointers</li>
<p>Top 3 things cats hate:</p>
  <li>flea treatment</li>
  <li>other cats</li>
<form action="/submit-cat-photo">
  <label><input id="indoor" Value="indoor" type="radio" name="indoor-outdoor"> Indoor</label>
  <label><input id="outdoor" Value="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>
  <label><input id="loving" value="loving" type="checkbox" name="personality"> Loving</label>
  <label><input id="lazy" value="lazy" type="checkbox" name="personality"> Lazy</label>
  <label><input id="energetic" value="energetic" type="checkbox" name="personality"> energetic </label><b>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

If you can’t pass the test that is why because you have written energetic with small latter not with capital letter.
hope this help you.

1 Like