Learn HTML by Building a Cat Photo App - Step 17

Tell us what’s happening:
I tried to put the “” under like the instructions said but it keeps telling me I’m wrong. What do I do?

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>

<!-- User Editable Region -->


      <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>
    <section>

<!-- User Editable Region -->

    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36

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

Link to the challenge:

1 Like

I have no idea what to do now event though it seems like I’ve tried everything

In the last line you can see you have an opening section element, with no closure. In this case, you would just have to remove that section element in the last line. Just like this:

Remember that opening elements dont have a / after the <, but closing elements do.

An example for the body element would be <body> for opening, and </body> for closing.

I hope this helps you. :slightly_smiling_face:

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