I need help with the code thanks:)

Tell us what’s happening:

I m stuck with my code:(
Please help:)

Your code so far

 <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>
   <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="/submit-cat-photo">
    <input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
   <label for="indoor">
     <input id="indorr"  type="radio" name="indoor-outdorr">indoor
<label for="outdorr">
     <input id="outdoor" type="radio" name="indoor-outdorr">outdoor

Your browser information:

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

Challenge: Create a Set of Radio Buttons

Link to the challenge:

what do the tests say?

Can you report the error please?
I also have noticed that you have made a mistake in your label elements(the indoor and outdoor), you did not spell it right.(You said “indorr” and “outdorr” in the label attribute).
Remember that the for attribute in the label must match to the id attribute in your input type.

1 Like

<label> <input type="radio" name="indoor-outdoor">Indoor </label> <label> <input type="radio" name="indoor-outdoor">Outdoor </label>
and becareful u can not set two different values for ids of radio buttons
and in radio button just use one of them id or name and both of them has to same value

1 Like

Spelling error here :wink: Fix that and let’s see what happens.


Other than the rest of the code to complete the challenge, everything checks out. As others pointed out, some errors in consistency, but output checks.

what do the tests say?

I got it now, thanks for the help :slight_smile:

I got it now :slight_smile:
Thanks for the help

Thanks very much for the help . I got it now, i will try to spell better : )

Thanks for the help. I got it now, i will try to spell better :slight_smile:

1 Like

No worries ; anytime

1 Like