Learn HTML by Building a Cat Photo App - Step 18

Tell us what’s happening:

my code is correct still its showing error please correct me

Your code so far


<!-- User Editable Region -->

<!DOCTYPE html>
<html>
  <body>
    <main>
      <section>
        <h2>Cat Photos</h2>
        <p>Click here to view more <a href="https://freecatphotoapp.com" target="_blank">cat photos</a> in our gallery.</p>
        <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>
        </p>
      </section>
    </main>
  </body>
</html>


<!-- User Editable Region -->

Your browser information:

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 18

Hi there and welcome to our community!

You appear to have a stray opening p tag here:

Your code should pass if you remove it.

Hi there!

You have modified your existing code. Reset the challenge step and only add section opening and closing tags on required empty lines you have above h2 and below the anchor element.

Hii Buddy, Here look closely do you really need new p tag ?

Hope its helps !!