Closing Tag Needed

I keeping being told that each label input should have a closing tag. Have I not done that?

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

  <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" 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="https://freecatphotoapp.com/submit-cat-photo">
   <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>

      <input type="text" placeholder="cat photo URL" required> </label>
    <button type="submit">Submit</button>
  </form>
</main>

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

<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" 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="https://freecatphotoapp.com/submit-cat-photo">
 <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>

    <input type="text" placeholder="cat photo URL" required> </label>
  <button type="submit">Submit</button>
</form>
</main>

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Also, I have included the challenge so people know what you are working on.

1 Like

You have an end label tag with no beginning tag. You don’t need to edit code that is not for the challenge so I would delete it.

1 Like

That was it! Thank you!

Cat photo URL” required> </label >

HI @ebrossett!

Welcome to the forum!

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Cat photo URL “required ></label >