Create a Set of Radio Buttons please help I'm stuck

Tell us what’s happening:
i think everything is right but its telling me its wrong

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"indoor "indoor-outdoor">
  <label for="indoor">indoor</label>
  <input id="outdoor" type="radio" outdoor "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 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6.

Link to the challenge:

The name attribute is not properly included with your code.


i have already tried that and it didn’t work @yoelvis

:point_up_2: This is not being interpreted

@Jacob8Taylor Try

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

that doesn’t work either @yoelvis

@Jacob8Taylor Add a pair of radio buttons to your form, each nested in its own label element.

For example:


The input element must be within label element.