Need HELP for this challenge

Tell us what’s happening:

Your code so far

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

<a href="#"><img src="" 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><input type="radio" name="indoor=outdoor">Indoor</label>
<label><input type="radio" name="indoor-outdoor">Outdoor</label>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

It says " Your radio buttons should be given the name attribute of indoor-outdoor ."

I’m not sure what I’m doing wrong. Help please!

typo here --> indoor=outdoor It should be indoor-outdoor.
You also forgetting to add for attribute for label as well.


Hope this helps,


It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

Thank you for understanding.


Got it @JeremyLT,

Sorry about that. I will keep that in mind. But a quick question, is it applicable to general programming questions too ? or just the challenges ?

I am just new here in the forum and trying to help.


1 Like

No problem; we were all new at some point :slight_smile:

It’s a hard rule for the challenges. It’s more of a general recommendation that sometimes it makes sense to go against for more general questions.

I hope my clarification makes sense!

1 Like