Learn HTML by Building a Cat Photo App - Step 45

Tell us what’s happening:

Instruction says “Nest your radio button inside a label element.”

I nest the button in but it’s not letting me go through. What am I missing?

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</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">

<!-- User Editable Region -->

          <input type="text" name="catphotourl" placeholder="cat photo URL" required>
          <button type="submit">Submit</button>
          <label><input type="radio"> Indoor</label>


<!-- User Editable Region -->

        </form>
      </section>
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 45

1 Like

Hi! Your code is correct, just remove the first two lines, they are not needed in this step

2 Likes

Hello and Welcome @KrstaKatt !

You new code of

should be entered above

so that both of the previously existing code lines are below the newly entered code.

May your coding path be smooth.

2 Likes

Hi there! Thanks so much for the help. I was starting to worry that it’s my code that’s messing up.

3 Likes

Hello there! Thanks so much for this, I thought the page was messing up and that I had to reset the lesson. I’m now moving forward to the next steps. Thanks for the help!

2 Likes

You are very welcome!

Smooth coding! :slight_smile:

1 Like

Hi! Thanks, but please do not post off-topic items. There are many other resourses on the web for stuff like that

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