Radio button should be nest

Tell us what’s happening:
they told me to put each element next to other i did it but its tell me the same thing i dont know what to do “the page is small and i cant put the element below it”

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://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="/submit-cat-photo">

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

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

<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 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

you need to nest the input insite the label, look at the challenge description for an example of input nested inside the label element

1 Like

thank you i will go and see right now

i still didnt pass the challenge can you type me a video and send it to me i will appreciate that please my facebook is" modo san "

I will not give you the answer, and I will certainly NOT search you on facebook just to give you the answer, but if you still need help you can post again your code


When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

Please use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks are not single quotes.

markdown_Forums

no i dont want the answer i just need information about how to put the element nest to the other on a video type .
sorry about the distrubution i will search by myself thank you again
:innocent: :blush: :blush:

Hello~!

It seems like you are having some difficulty understanding what “nested elements” means. Does this example help?

<element1>
   <element2> Text </element2>
<element1>

In my example, element2 is nested inside element1.

2 Likes

ok can you tell me what is wrong in this picture

Thank you I got it now thanks for the info