Please ! help me,that things i dont understand

Tell us what’s happening:
Describe your issue in detail here.

  **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="">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
  **Your browser information:**

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

Challenge: Create a Set of Radio Buttons

Link to the challenge:


HI @santiago1971997 !

Welcome to the forum!

Can you explain what you don’t understand so we can help you better?

Maybe taking a look at the example again might help.

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

thanks you so much, i want learn to much from you,maybe i understand one bit,yours code it is right ?

I didn’t give you the answer. We are not allowed to give out full answers on the forum :grinning:

I just copied the example code from the challenge.

We can help you get to the right answer but you have to explain to us what you don’t understand.

Did you need help creating a radio button?
Are you unsure of the instructions from the challenge?

1 Like

yup,i dont understand it, radio button and instructions from the challenge?, sorry i not good english,please help me,thanks u so much

what is the lable ? radio button,form,name,and indoor-outdoor ?? its tag or element,attribute ?

This is a radio button.

What makes it a radio button is this part right here type="radio". That tells the computer what type of input we are working with.

You are going to nest that radio input inside a set of label tags like this. Label tags act as captions or text for the inputs. This text says Indoor.

When you add that code inside the form then it should look like this on the screen.
Screen Shot 2021-07-29 at 11.30.23 AM

The example actually gave you half of the answer for this challenge.
You can paste this code

into the form here

<form action="">
  <input type="text" placeholder="cat photo URL" required>

  <button type="submit">Submit</button>

This is the name attribute they are talking about

Attributes are words that control the behavior of the html element.

Then you need to create another radio button following the same structure in the example code

But instead of the text saying indoor here

It needs to say outdoor.

Hopefully all of that made sense.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.