I need help TT ( CRYING)

I DON’t have any idea concerning coding. i figured why not try something new but here i am stuck n this part lol . somebody pleas 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>
  <input type="radio" name="indoor-outdoor">indoor</label> 
<input type="radio" name="indoor-outdoor">Outdoor</label>
   <button type="submit">Submit</button>
<label for="indoor">
 </form><label for="Outdoor"></label>

Your browser information:

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

Challenge: Create a Set of Radio Buttons

Link to the challenge:

I guess you closed form before the last label

1 Like

Welcome, BELKIS.

You are almost there. What I recommend is resetting the code, and taking one more look at the example in the lesson.

From there, split the instructions up into its smallest parts:

  1. Add two radio buttons to the form
  2. Nest each radio button in its own label element.
  3. One label should have indoor as its value
  4. The other should have outdoor as its value
  5. Add a name attribute with a value of indoor-outdoor to each radio. (look at the example)

Hope this helps

1 Like

As well as you missed to write <form>

You did great with the buttons. Make sure each button is nested within its own label container. Each label container should have appropriate opening and closing tags such as " " and everything inside is considered to be nested, this is a hint! You can do it! Also, keep your label containers inside your form container. One label container appears to be outside the form container.

1 Like

thank you so much :pray: i was about to give up :joy: guess I’ll keep going

thank you Mehdi .
I’ll try to concentrate more.
:joy: as if I am building a rocket lol

1 Like

thank you so much :pray::pray:

It’s okey @BELKIS1 we all started like that it’s pretty straightforward just keep your motivation up as well as your goal ! :wink: :top:

1 Like