Radio Buttons Each of your two radio button elements should be nested in its own label element. Each of your label elements should have a closing tag

Radio Buttons Each of your two radio button elements should be nested in its own label element. Each of your label elements should have a closing tag
0

I’m guessing that at least some of those inputs are supposed to have values. What do the failing tests say?

When I copied in your code, it worked for me. Try resetting your code and pasting in only the new lines you were supposed to add.

O K Great I will give it a try.
Thank you
Bob Smith

Your first radio button on your form should be checked by default.

Your first checkbox on your form should be checked by default.

Did it pass once you reset your code, as @JeremyLT suggested?

If I reset the code all lesson will be lost (error message) so I don’t want to do that I did try rewriting the code then submit and add the word( checked) after submission still no go.

Go ahead and reset the code. Then put in the code that works, as @JeremyLT suggested. It won’t be lost because it’s right here.

As you can see I am new to this thanks for holding my hand.

No worries. We all start somewhere.

OK Great it worked!!!

O K Great it worked
Thank you
Bob Smith!!!

1 Like

I’m glad you got it figured out. Happy coding!

Hello Ariel Leslie,
When I hit the (run the test button) nothing happens I reset the code and my lesson was lost I re-enter my code still no response can you help?

<!DOCTYPE html>
<html>
  <h1>
    <!---<Title>The best psge ever</Title>--->   
     </h1>
    <body>
  <p> <!---Paw at your fat belly licks your face and eats grass,throw it back up kitty ipsum color sit amet, shed everywhere shed attack your ankles chase the red dot,hairball run catnip eat the grass sniff.---></p> 
  </body>
</html> 

Hello Bob Smith,
When I hit the (run the test button) nothing happens I reset the code and my lesson was lost I re-enter my code still no response can you help?


<!DOCTYPE html>

<html>

  <h1>

    <!---<Title>The best psge ever</Title>--->   

     </h1>   

  <body>

  <p> <!---Paw at your fat belly licks your face and eats grass,throw it back up kitty ipsum color sit amet, shed everywhere shed attack your ankles chase the red dot,hairball run catnip eat the grass sniff.---></p> 

  </body>

</html> 

This is what you should see when you “Reset All Code”

<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="/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><br>
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  </form>
</main>

From here you can add in only the lines adding the checkboxes.