HELP me please I can't understand

Tell us what’s happening:
HI everyone i got a problem with my code, but I think I’m doing it probably so there is only one thing that i can’t understand how to do.

" Each of your two radio button elements should be nested in its ownlabel
element." Here it is.

I’ve watched a video helper and copyied code from this video too but it also wrong.
What I’m supposed to do?

Salam @Abubakir,

Welcome to the forum!
Can you please share your code.
You can use preformatted text for your code like this:
preformatted text

Good Luck! :blush:

1 Like
<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="https://freecatphotoapp.com/submit-cat-photo">

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

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

  </form>

  <form>

    <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>

  </form>

</main>

I’ve sended my code to you , so… can you help me? :sweat_smile: :pleading_face:

Hey @Abubakir,

Please copy and paste your code while using the format I mentioned before, check my previous reply.

This is done to show us the code properly for example:
I am typing <p>this is a p tag</p>


While not using the preformatted text:

This is a p tag


While using the preformatted text:
<p> This is a p tag </p>

Kindly share your code while using the preformatted text.

1 Like

please can you use the ask for help area so that we can see your code well

I’ve edited your post for readability. 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.

You can also 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 (’).

the challenge asks for input nested inside label element, check the challenge description for an example of that

each of your inputs is not nested inside their own label element

also you need to add them to the existing form element, not create a new one