Where do I find the closing tag in the label elements?

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<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>
<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://www.freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
 <input id="indoor" type="radio" name="indoor-outdoor">
<label for="indoor">Indoor</label/> 
<label for="indoor">  <label> }
{<input type="radio" name="indoor-outdoor">Indoor 
</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 
p {
font-size: 16px;
font-family: Monospace;
}

.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}

.smaller-image {
width: 100px;
}
  <button type="submit">Submit</button>
</form>
</main>
  **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.110 Safari/537.36 Edg/96.0.1054.62

Challenge: Create a Set of Radio Buttons

Link to the challenge:

I’m not sure why you have a bunch of CSS in there, but it shouldn’t be there. I would recommend you click the “Reset All Code” button to get a fresh start on this challenge.

The only thing you want to do here is add a pair or radio button inputs, each wrapped in a <label> input. The example in the instructions shows you exactly how to do that. You can put them right above the existing text input.

<h2>CatPhotoApp</h2>

<main>

  <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>

  <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://www.freecatphotoapp.com/submit-cat-photo">

    <input type="text" placeholder="cat photo URL" required>

    <button type="submit">Submit</button>

  </form>

  <label> 

  <input type="radio" name="indoor-outdoor">Indoor 

</label>

<input id="indoor" type="radio" name="indoor-outdoor">

<label for="indoor">Indoor</label>

<label for="indoor"> 

  <input id="outdoor" type="radio" name="indoor-outdoor">Outdoor 

</label>

</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 (’).

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<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>
<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://www.freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
<label> 
<input type="radio" name="indoor-outdoor">Indoor 
</label>
<input id="indoor" type="radio" name="indoor-outdoor">
<label for="indoor">Indoor</label>
<label for="indoor"> 
<input id="outdoor" type="radio" name="indoor-outdoor">Outdoor 
</label>
</main>
  **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.110 Safari/537.36 Edg/96.0.1054.62

Challenge: Create a Set of Radio Buttons

Link to the challenge:

HI @alana.liu !

You are failing the test because your radio buttons are not in the form.

You need to move all of your radio buttons inside the form

<form action="https://www.freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
RADIO BUTTONS GO INSIDE HERE
</form>

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