PLASE HELP for placing radio button element within form tag

It says my code is wrong because my radio button elements should be added within the form tag, please help me

 <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>
<input type="radio" name="indoor-outdoor">indoor
  <input type="radio" name="indoor-outdoor">outdoor
 <form action="">
   <input type="text" placeholder="cat photo URL" required>
   <button type="submit">Submit</button>
   **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

It says your radio buttons should be nested in a form tag like you before nested your input one.

this is your form tag, I don’t see radio buttons inside

Thanks, my form tag didn’t contain label elements that is why it was wrong

Above the form tag there are radio buttons, when I tried to write them whinin form tag I just haven’t considered label elements but then I realised my mistake. BTW thanks for replying

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