Set of Radio Buttons / id attribute

hi all,
Someone can tell me please, what is wrong with my codes? And my other question is that if we but id attribute as well what will change?

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 <lable  <input type="radio" name="indoor-outdoor"/>Indoor
 <button type="submit">Submit</button> </lable>
<form <lable  <input type="radio" name="indoor-outdoor"/> Outdoor 
<button type="submit">Submit </button></lable>



Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

Please look at the word label and at how you rote this word. Plus look what is asked in the task. You need to nest in the label a pair of radio buttons that means input with radio type, not the literal buttons. Look at examples more closely

1 Like

resolved , thanks , could u please tell me id attribute in this case for what is useful?

Id is very useful for CSS when you need to apply design to specific element

1 Like