Learn HTML by Building a Cat Photo App - Step 51

Tell us what’s happening:
something is up and i’m not sure what it is i’m doing wrong.
i’ve entered the fieldset element below the 1st set of fieldset elements along with its corresponding closing tag and yet the code fails and i get a hint telling me that my new fieldset element needs a closing tag…while there is a closing tag! if possible please help…

  **Your code so far**
      <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>
      <h2>Cat Lists</h2>
      <h3>Things cats love:</h3>
        <li>cat nip</li>
        <li>laser pointers</li>
        <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>  
      <h3>Top 3 things cats hate:</h3>
        <li>flea treatment</li>
        <li>other cats</li>
        <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>  
      <h2>Cat Form</h2>
      <form action="https://freecatphotoapp.com/submit-cat-photo">
          <legend>Is your cat an indoor or outdoor cat?</legend>
          <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>
        <fieldset> </fieldset>
        <input type="text" name="catphotourl" placeholder="cat photo URL" required>
        <button type="submit">Submit</button>
  **Your browser information:**

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

Challenge: Learn HTML by Building a Cat Photo App - Step 51

Link to the challenge:

hello welcome to the forum.

I’m a bit confused. The link you gave to the challenge shows an exercise that is talking about legends , not fieldsets.

Perhaps if you are stuck on step 51, you should restart the step and just add the requested legend only?

thanks and no like i stated the challenge is asking me to add another fieldset element directly below the current fieldset element.

This is what I see when I click on the link in your post:

Step 51

The legend element acts as a caption for the content in the fieldsetelement. It gives users context about what they should enter into that part of the form.

Add a legend element with the text Is your cat an indoor or outdoor cat? above both of the radio buttons.

Based on this, you need to add a legend element. What do you see in the instructions on your end? (Please paste all the instructions if they are different)

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