Help on step 12

I looked on the other similar posts but I don’t understand where’s my mistake :frowning:
Thank you

  **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 <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_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.84 Safari/537.36 OPR/85.0.4341.60

Challenge: Step 12

Link to the challenge:

Why are there two anchors?

I know this is what the error message says.
But i don’t undesrstand what it means or what i should change… i’ve been on this for 45 minutes. !

The hint says:

“Your code should only contain one anchor ( a ) element. Remove any extra anchor elements.”

You were supposed to add an anchor in the <p>, which you did. So if you have two anchors in your code, which you do, then which one should you remove in order to meet the requirements?

ok i figured it out thank you

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