Create a Set of Radio Buttons (help)

Tell us what’s happening:

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">
    <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>

Your browser information:

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

Link to the challenge:

You need to nest the radio buttons in their labels.


<label for="indoor">
      <input id="indoor" type="radio" name="indoor-outdoor">

each of the radio button elements should be added within the form tag. that showing me i cant understand

my code can`t run? how can i run it?

i need help with that challenge. i cant run my code.

We need to see your code. If the test doesn’t run at all chances are you are using an unsupported browser. Use Chrome or Firefox.

hi. my browser is updated. i have google chrome. i ran the same code but it keeps giving me problems. may you please help me?

show your code
remember that to nest two elements you need to put the nested element inside an other one <div><img></div> (this is an img element nested in a div element)
if you do <div></div><img> they are just siblings and not nested

Thank you for your help. i figured it out.