Please ! help me,that things i dont understand

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

  **Your code so far**

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

<a href="#"><img src="https://www.bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
</ol>
<form action="https://www.freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
</main>
  **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:

:grey_question:

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 
</label>
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="https://www.freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>

PLACE EXAMPLE CODE IN HERE
  <button type="submit">Submit</button>
</form>

This is the name attribute they are talking about
name="indoor-outdoor"

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
for="indoor"
id="indoor"
>Indoor

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.