Learn HTML by Building a Cat Photo App - Step 50

Hi, am at step 50 of Learn HTML by building a Cat Photo App-Step 50
and no matter what i do, my code do not pass ,and am stuck here. Please can someone help here
The fieldset element is used to group related inputs and labels together in a web form. fieldset elements are block-level elements, meaning that they appear on a new line.
Nest the Indoor and Outdoor radio buttons within a fieldset element, and don’t forget to indent the radio buttons.

Your code so far

html>

CatPhotoApp

Cat Photos

See more cat photos in our gallery.

A cute orange cat lying on its back.

Cat Lists

Things cats love:

  • cat nip
  • laser pointers
  • lasagna
A slice of lasagna on a plate. Cats love lasagna.

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
Five cats looking around a field. Cats hate other cats.

Cat Form

Indoor Outdoor submit
<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>

<!-- User Editable Region -->

<fieldest>
    <label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor"> Indoor</label>
      <label><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label>
       <input type="text" name="catphotourl" placeholder "cat photo URL" required>
        <button type="submit">submit</button>
</fieldest>
1 Like

Welcome to the community @Yawa20 !

The fieldset is showing more than just the radio buttons within it.

Suggestion: Reset the step and only enter the Indoor and Outdoor radio buttons within the fieldset.

Wishing you good progress.

Welcome to the forum @Yawa20

Both the opening and closing tags required for this step are incorrectly spelt. Correct this and your code will pass.

Happy coding

2 Likes

Thank you, i tried that at first and it didnt work

Thank you i will keep this in mind

1 Like

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