Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
After adding the link using (a) it tells me that "The link’s text should be ‘cat photos’ ". When I add the text ‘cat photos’ it says " the only p element content visible in the browser should be ‘Click here to view more cat photos.’ "

I have no idea how to fix this

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.
      <a href="https://freecatphotoapp.com">cat photos</a> </p>
    <a href="https://freecatphotoapp.com">cat photos</a>
    <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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

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

Link to the challenge:

First you have two anchor tags (< a) . delete one
2. The word “cat photos” should come after the anchor tag.
if you implement what i just wrote your code should look like this:
p tag anchor tag cat photos closing p tag.

do you understand?

1 Like

yes, it worked thank you!