I cant figure out what is the problem

Tell us what’s happening:
i cant figure out whats wrong with my code here. please help!

Your code so far

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

<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" 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-outdoor"><input type="radio" name="indoor-outdoor" value="indoor-outdoor"> indoor
  <label for="outdoor"><input type="radio" name="indoor-outdoor" value="outdoor"> outdoor
  <label for="loving"><input type="checkbox" name="personality" value="loving"> Loving</label>
  <label for="lazy"><input type="checkbox" name="personality" value="lazy"> Lazy</label>
  <label for="energetic"><input type="checkbox" name="personality" value="energetic"> 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/80.0.3987.149 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

What do the failing tests say? What are the different approaches you have tried?

the failing test says-
One of your radio buttons should have the


attribute of


. One of your radio buttons should have the


attribute of


ive tried creating seperate lables for the radio type with each one with its respective value. still am getting the exactly same result

Reset the challenge and enter your values again. This time, do not change anything else.

1 Like
<label for="indoor"><input type="radio" name="indoor-outdoor" value="indoor-outdoor"> indoor</label>


this is the code i typed instead. its giving me the same result. ill try rreseting the challange thank you!

Did you change the capitalization of the label contents?

1 Like

i reset the challange and it worked , thank you guys!