Learn HTML by Building a Cat Photo App - Step 18

Tell us what’s happening:

i did as they ask but im getting wrong

Your code so far

<html>
  <body>
    <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>

<!-- User Editable Region -->

      <section>
        <h2>Cat Lists.</h2>
      </section>

<!-- User Editable Region -->

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

You should remove “.”(period) from text.
Like this: <h2>Cat Lists</h2>

1 Like

@gulshansahni
You need to put the section opening tag before h1 element . Read your code carefully.