Can't get through the second fieldset

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="">
          <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>
        <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 6.1; rv:100.0) Gecko/20100101 Firefox/100.0

Challenge: Step 51

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

Is the challenge unhappy because the new fieldset is not directly below the old one?

I was asked Both fieldset elements should be above the text field and its associated label element. They are out of order. So can’t get through it i need help.

1 Like

It looks like your new fieldset is below the text input element though

yes i was asked in the initial challenge that am going to add some new form input elements,so add another fieldset element directly below the current fieldset element.

But it isn’t directly below the old fieldset element.

You have

  • Old fieldset
  • Input element
  • Button
  • New fieldset

The challenge expects

  • Old fieldset
  • New fieldset
  • Input element
  • Button
1 Like

so am to add the new fieldset below the old fieldset. I tried that and was told not to add another fieldset within the old fieldset

You don’t add it inside of the fieldset. You add it below. For example, the input element is below but not inside the old fieldset.

The new fieldset needs to be after the closing tag of the old fieldset but before the opening tag for the input.

Okay let me work with this thank you very much if i have any further issues i will let you know.


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