An attribute for the radio

Tell us what’s happening:
Your radio buttons should be given the


attribute of


. One of your radio buttons should have the label


. One of your radio buttons should have the label


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 type="radio" name="indoor-outdoor">
<label for ="outdoor">
  <input id="indoor""outdoor" type="radio" name="indoor-outdooor">
  <button type="submit">Submit</button>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 7.0; Infinix X572) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/537.36.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

is it spelled like: outdooor ?
They also asking you to add a label
But is a label used as label for?

They gave you an example of a label

  <input type="radio" name="indoor-outdoor">Indoor 
1 Like

You must match attributes correctly with the input ids. You should not have two different ids for your input. The id you chose should correspond to the for attribute of the label.