Need some help in step 46

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

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <section>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
      <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
    </section>
    <section>
      <h2>Cat Lists</h2>
      <h3>Things cats love:</h3>
      <ul>
        <li>cat nip</li>
        <li>laser pointers</li>
        <li>lasagna</li>
      </ul>
      <figure>
        <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
        <figcaption>Cats <em>love</em> lasagna.</figcaption>  
      </figure>
      <h3>Top 3 things cats hate:</h3>
      <ol>
        <li>flea treatment</li>
        <li>thunder</li>
        <li>other cats</li>
      </ol>
      <figure>
        <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg" alt="Five cats looking around a field.">
        <figcaption>Cats <strong>hate</strong> other cats.</figcaption>  
      </figure>
    </section>
    <section>
      <h2>Cat Form</h2>
      <form action="https://freecatphotoapp.com/submit-cat-photo">
        <label><input id="indoor" type="radio"> Indoor</label><label><input id="outdoor"type="radio"></label>
        <input type="text" name="catphotourl" placeholder="cat photo URL" required>
        <button type="submit">Submit</button>
      </form>
    </section>
  </main>
</body>
</html>
  **Your browser information:**

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

Challenge: Step 46

Link to the challenge:

In the instructions it states:

Nest another radio button with the option Outdoor in a new label element.

You will notice in your Indoor radio button that there is label text ‘Indoor’ nested between the label tag.

This is the result when I render your code:

Can you spot what looks wrong?

HI @frankedward10963 !

I would suggest resetting the lesson because you have some errors here

Carefully reread the directions here for creating a new radio button.
The new radio button should be placed after the first one.

Try again with creating a new radio button for outdoor.
Hope that helps!

still not getting it right even after resetting the lesson

Blockquote

Can you post your latests code so we can see where the issue is?

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

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

A few issues.

No.1:
This text is supposed to start with a capital letter

No.2:
This text is supposed to start with a capital letter

No.3:
The hint says to place the outdoor label directly to the right of the indoor one

No.4:
There is supposed to be a space before Indoor and Outdoor here

Once I fix those things, then the test passes

Point (NO:3) I’m understanding how should we place the outdoor label directly to the right of the indoor one

Can you post your new code so we can see why it is not passing now?

<label><input id="Indoor" type="radio"> Indoor </label>
<label><input id="Outdoor" type="radio"> Output </label>

A few issues

No.1:
Take this label here

and place it directly to the right of this label

For example:

<label><input id="Indoor" type="radio"> Indoor </label>PLACE OTHER LABEL HERE

NO.2:
You weren’t supposed to change the id to start with a capital letter

Only the text here was supposed to start with a capital letter

But you need to fix the ids

No.3:
You wrote Output here but that is incorrect

Once I fix all of those issues, then it passes for me

Thanks for your help it has worked

1 Like