After several adjustments the code still wouldn't pass, it keeps asking me to place both radio buttons between opening and closing label element tag

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="">cat photos</a>.</p>
      <a href=""><img src="" alt="A cute orange cat lying on its back."></a>
      <h2>Cat Lists</h2>
      <h3>Things cats love:</h3>
        <li>cat nip</li>
        <li>laser pointers</li>
        <img src="" alt="A slice of lasagna on a plate.">
        <figcaption>Cats <em>love</em> lasagna.</figcaption>  
      <h3>Top 3 things cats hate:</h3>
        <li>flea treatment</li>
        <li>other cats</li>
        <img src="" alt="Five cats looking around a field.">
        <figcaption>Cats <strong>hate</strong> other cats.</figcaption>  
      <h2>Cat Form</h2>
      <form action="">

<label><input id="indoor" type="radio" value="indoor" name="indoor-outdoor"> Indoor
 <label><input id="outdoor" type="radio" value="outdoor" name="indoor-outdoor"> Outdoor</label>

          <input type="text" name="catphotourl" 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/ Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 48

Link to the challenge:

It really helps if you keep the default title and put your question into the post body so it’s easier to read.

You have two opening label tags here. You need one opening and one closing.

Also, the id and for values should be all lowercase while the label text should have a capital letter. Yours is the opposite.

You ended up changing a bunch of stuff that wasn’t part of the instructions. This confuses the tests.

After making those changes this is what i could come up with and it still wouldn’t pass, please take a look at it.

You deleted the closing label tag

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.