Can't complete radio button session

I’m trying to create a set of radio buttons [indoor and outdoor] and I’m sure I’ve got the code right, but when I “Run the Tests” I don’t get any confirmation. In the box underneath my code I see the comment “// running tests” [w/o the quotations].

  **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>
  <label>
    <input id="indoor" type="radio" name="indoor-outdoor">Indoor
    </label>
    <label>
      <input id="outdoor" type="radio" name="indoor-outdoor">Outdoor</label>
  <button type="submit">Submit</button>
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0

Challenge: Create a Set of Radio Buttons

Link to the challenge:

1 Like

Hi there, jjjoverthere!

I think you’ve forgotten a </label> closing tag. Maybe this is an issue? Please let me know)

Cheers, have a great day)

1 Like

Hi Jerry. I didn’t see a problem with the label closing tags. The problem has been solved though and here’s what I did. I simply reloaded the page, ran the test results again, and it worked. Now at the bottom of the page instead of // running tests I see // running tests // tests completed. Not sure what went wrong here. . . but it works. Thanks for the reply.

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