Help! I can't understand Create a Set of Radio Buttons

Tell us what’s happening:
I think that is ok but the program says I have a mistake. I coulden’t see it, Someone could help me??

Your code so far


<h2>CatPhotoApp</h2>
<main>
  <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>
  <ul>
    <li>cat nip</li>
    <li>laser pointers</li>
    <li>lasagna</li>
  </ul>
  <p>Top 3 things cats hate:</p>
  <ol>
    <li>flea treatment</li>
    <li>thunder</li>
    <li>other cats</li>
  </ol>
  <form action="/submit-cat-photo">
  <input id="indoor" type="radio" name="indoor-outdoor">
  <label for="indoor">Indoor</label>
  <input id="outdoor" type="radio" name="indoor-outdoor"><label for="outdoor">Outdoor</label>
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  </form>
</main>

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/create-a-set-of-radio-buttons/

hello my friend

the answer is simple

you have to do it this way just fill the requirments

im not sure why i cant post tags

but do it like

label
input
/label

Hi @lonelyxcoder. This site uses markdown syntax so you’ll want to use these ``(backticks) to wrap around tags. This is a good reference on markdown: https://guides.github.com/features/mastering-markdown/

hy…

<form action="/submit-cat-photo">

<label for =“indoor”>

<input id=“indoor” type=“radio” name=“indoor-outdoor”>Indoor

</label>

<label for =“outdoor”>

<input id=“outdoor” type=“radio” name=“indoor-outdoor”>Outdoor

</label>

<input type=“text” placeholder=“cat photo URL” required>

<button type=“submit”>Submit</button>

</form>

</main>