Learn HTML by Building a Cat Photo App - Step 16

Tell us what’s happening:
Describe your issue in detail here.
I’ve read the forum all the way through, and I’ve tried ever solution that’s been posted but I’m still stuck on it

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <section>
    
      <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>
    </section>
  <section>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 OPR/90.0.4480.100

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

Link to the challenge:

2 Likes

Stuck how?

I see two opening section tags… That can’t be right. Most tags come in an opening and closing pair.

1 Like

It says add a second section tag, unless I’m messing up how I’m seeing it should be how it wants it to be

Where do the instructions say to add two opening section tags?

You should have one opening and one closing tag.

1 Like

These are the directions word for word:
It is time to add a new section. Add a second section element below the existing section element.

Here are the word for word instructions for step 16

Before adding any new content, you should make use of a section element to separate the cat photos content from the future content.

Take all the elements currently located within the main element and nest them in a section element.

You posted the instructions to step 17. Which one are you working on?

I used the to nest all of the stuff in between the elements I’m not really sure what else could be going wrong here

Which step are you working on?

It says step 16 but has the instructions to step 17? I think thats whats happening here

Clear your cache and refresh. You seem to be caught in a old version of the curriculum.


Your code wouldn’t work for step 17, you have two opening tags and one closing tag. You must have two of each.

I restarted the website, I got the instructions for step 16 now. I’ll run through it and If I have a question I’ll reply again

hi, did you ever figured it out? im cofused

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

I think that you just have to open a new section element. <section>and close it just right above the closing tag of the main element </main>

3 Likes