I need help this is very hard

Tell us what’s happening:
I am stuck in this challenge please tell me what is wrong and what should I correct

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="https://freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
  <label for='indoor'>
     <input      type='radio'name='indoor-outdoor'>indoor

Your browser information:

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

Challenge: Create a Set of Radio Buttons

Link to the challenge:

1 Like

you have used extra label tags which are not necessary

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

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

This might help, but
first read and understand the given example thoroughly before you try to solve it… half of the answer is provided in the given example itself.

Pro tip
Structure your code in a clean pattern/block , no need to use extra spaces and new lines …Good luck !

1 Like

It is great that you solved the challenge, but instead of posting your 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.


I understand your concern but hints are given on every challenge and this was just a simple understanding issue…the members who post there queries are already frustrated and sometimes they want to quit too , sometimes it is better to give them a solution with an advice for the future problems.

1 Like

It is forum policy not to give out solutions. Please do not do so again.


Will keep that in mind

1 Like