Create a Set of Radio Buttons😐

Tell us what’s happening:
What must I do?
I stuck in this challenge
Your code so far

HTML

<h2>CatPhotoApp</h2>
<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>
  
  <a href="#"><img src='//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/freecodecamp/original/3X/6/1/61a3499c5abb165be990aa0c1abd23342e60c663.jpg' 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 type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  
    <label for="indoor">
    <button id="indoor" type="radio" name="indoor-outdoor">Submit</button>
    </label>
    <label for="outdoor">
    <button id="outdoor" type="radio"      name="indoor-outdoor">Submit</button>
    </label>
  </form>    
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0.

Link to the challenge:

Hey guys, everything just shared.
I don’t know what I must do with this challenge.
plz help me

This should be <input>, not <button>. Also note that the <input> element has no closing tag:

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