The value attribute with Radio Buttons and Checkboxes

Tell us what’s happening:
i’m stuck here dont know what to do on the value attribute with Radio Buttons and Checkboxes

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

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


Your browser information:

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

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

the input elements already exist, you shouldn’t create new elements, just add value to existing one

Make sure each “radio” and “checkbox” has a “value” attribute with the input label text, in lowercase, as the value for the attribute.


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

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