Can't solve the problem checkbock

i can’t find any way to give the checkbox the right value attribute

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 for="indoor"><input id="indoor"value="indoor" type="radio" name="indoor-outdoor"> Indoor</label>
  <label for="outdoor"><input id="outdoor"value="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>

<label for="loving"><input id="loving"value="loving"type="checkbox" name="personality" >loving</label>
  <label><input type="checkbox" name="personality"> Lazy</label>
  <label><input type="checkbox" name="personality"> Energetic</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

you just shouldn’t have changed the label text

1 Like

thank you
now is every done except energetic, do yo find the problem?

Indoor Outdoor Loving
<label><input type="checkbox" name="personality"
> Lazy</label>
 <label><input type="checkbox" name="personality"

Got it already :slight_smile: thank you