Can somebody help me

i have to give a value to checkboxes and radio buttons

can somebody tell me what i am doing wrong
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="">
<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 type="checkbox" name="personality" value="loving"> loving </label>
<label><input type="checkbox" name="personality"value="lazy"> lazy</label>
<label><input type="checkbox" value="energetic" name="personality" > energetic </label><br>    
  <label for="energetic"><input id="energetic" 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/89.0.4389.114 Safari/537.36 Edg/89.0.774.68.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

you changed the label text, for that reason the tests are failing

The instructions asked you to use the input label text, in lowercase, as the value for the attribute.

But you also changed the labels from uppercase to lowercase which is why the tests fail. There’s also an extra checkbox.

Use the ‘Reset All Code’ button and do the lesson again. Only add the value attribute and don’t change anything else.

thanks for your help

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