Learn HTML by Building a Cat Photo App - Step 12

See more cat photos in our gallery. cat photos

it says that. After nesting the anchor (a ) element, the only p element content visible in the browser should be See more cat photos in our gallery. Double check the text, spacing, or punctuation of both the p and nested anchor element.
i can’t figure it out what am i doing wrong…

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

<!-- User Editable Region -->

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

<!-- 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/116.0.0.0 Safari/537.36

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

Link to the challenge:

1 Like

you should turn the already existing “cat photos” part of the sentence to a link. but you have added another “cat photos” as a link

2 Likes

Great work! I am not sure no the details of the exercise. However, I notice that your closing ‘p’ tag is in the wrong place. I should be placed right after ‘in our gallery.’ I hope this was it.

1 Like

thanks, i figured it out already, it " there’s a small issue with the closing anchor (</a> ) tag. It should be </a> (with a forward slash) to properly close the anchor element. Here’s the corrected.

1 Like

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