Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
i am having trouble nesting the anchor element around the paragraph element
Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <pSee more cat photos in our gallery.<a href="https://freecatphotoapp.com">cat photos</a></p>
      <a href="https://freecatphotoapp.com">cat photos</a>

<!-- User Editable Region -->

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
    </main>
  </body>
</html>

Your browser information:

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

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

Link to the challenge:

Hi @salaudeendamilola90 ,
Yes.
If you look carefully at the p tag, you’ll notice the problem.

  1. Closing tag of the <p> element is missing. You need to close the p tag with > before putting the content of the paragraph.
  2. Nesting <a..> is OK, but not CORRECT! The challenge is asking you to convert the EXISTING cat photos part in the paragraph into a link, but you have added a separate one. So the result is incorrect.
  3. The second link with the DESCRIPTION of cat photos below the paragraph is resulting a wrong output. The description should be link to cat pictures .

Address above points & your problems will be solved!