Need some help in step 46

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

  **Your code so far**
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="">cat photos</a>.</p>
      <a href=""><img src="" alt="A cute orange cat lying on its back."></a>
      <h2>Cat Lists</h2>
      <h3>Things cats love:</h3>
        <li>cat nip</li>
        <li>laser pointers</li>
        <img src="" alt="A slice of lasagna on a plate.">
        <figcaption>Cats <em>love</em> lasagna.</figcaption>  
      <h3>Top 3 things cats hate:</h3>
        <li>flea treatment</li>
        <li>other cats</li>
        <img src="" alt="Five cats looking around a field.">
        <figcaption>Cats <strong>hate</strong> other cats.</figcaption>  
      <h2>Cat Form</h2>
      <form action="">
        <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>
  **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


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.

This text is supposed to start with a capital letter

This text is supposed to start with a capital letter

The hint says to place the outdoor label directly to the right of the indoor one

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

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

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

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

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