Learn HTML by Building a Cat Photo App - Step 16

Tell us what’s happening:
Describe your issue in detail here.
I’m stuck and can’t figure out where I’m going wrong. Can someone help me please?
Your code so far

<html>
  <body>

<!-- User Editable Region -->

    <main>
      <h1>CatPhotoApp</h1>
    
      <div><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."></div></a>
    
    </main>

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

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

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

Link to the challenge:

Can you be more specific about what words or phrases in the instructions or hints are confusing for you?

I don’t see a section element in your code?

That’s what I’m having a problem with. I don’t know where to put it. Is it the <div>? Where does it go exactly?

<div> is an opening tag for a div element. You need a section element.

Where do I find what a section element is?

This is an opening tag for a main element.

This is an opening tag for a h1 elemnet.

This is an opening tag for a div element.

This is an opening tag for a h2 element.

What might an opening tag for a section element look like?

Thank you I got it! :sweat_smile:

1 Like

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