Learn HTML by Building a Cat Photo App - Step 16

Tell us what’s happening:
Describe your issue in detail here.

Not sure how to add the closing tag for the section?

I’ve tried it above and below and where it is now.

Tried looking it up and didn’t see anything and the other code looks different on other sites?

Your code so far

<html>
  <body>

<!-- User Editable Region -->

    <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</>      
    </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/115.0.0.0 Safari/537.36

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

Link to the challenge:

Before the h2 opening tag <h2> goes the opening <section> tag, and before the closing </main> tag goes the closing </section> tag.

1 Like

I tried it like this:

CatPhotoApp

Cat Photos

See more cat photos in our gallery.

A cute orange cat lying on its back.<section <section

Still not getting it?

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

“< section >” “< /section >” are the opening and closing tags here, minus the spaces. Everything else is correct. Just change your tags. If it’s still not working try sharing the hint so we can get a better idea of the issue. But this should work.

2 Likes

Awesome thank you.

still getting a hang for how everything works.

2 Likes

I understand, coding is difficult. Once you get the hang of one language, the rest come much easier.

1 Like

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