Help with create a set of radio buttons

Hi, I tried to use ur tip to include the labels between the tags, but it still did not work. Do you know why? Here’s my code


  <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="">
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit<button>
    <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>


Something’s missing in this line:

<button type="submit">Submit<button>
1 Like