What am i missing please help

it ask me " Each of your label elements should have a closing tag" but I don’t know what does that mean. I did everything… or not?
Your code so far

<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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="https://www.freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
  <label id="indoor" type="radio" name="indoor- outdoor"> <label for="indoor"> Indoor</label>
  <label id="outdoor" type="radio" name="indoor- outdoor" <label for="outdoor"> Outdoor</label>
<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>
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
  **Your browser information:**

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

Challenge: Create a Set of Radio Buttons

Link to the challenge:

This is the one with the typo. If you can see the color-coding in your code editor, you’ll notice something strange about this line.
Because you accidentally put the > before the ", the opening isn’t actually completed until the > at the end of the line. That’s why the tests think that you don’t have a closing tag: because technically you only have a malformed opening tag.

1 Like

Thank you! I didn’t notice that! I corrected that but still same error appears :frowning:

Please post your new/updated code.

I actually solved the problem. Was in the middle of the label, so obvious and i didn’t see. Thanks tho :slight_smile:

1 Like

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