Hey sorry its me again now its telling me this " Your code should only contain one anchor (a) element. Remove any extra anchor elements."

Tell us what’s happening:
Describe your issue in detail here.

  **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="cat photos"</a>
    </p>
    <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; rv:102.0) Gecko/20100101 Firefox/102.0

Challenge: Step 12

Link to the challenge:

Is this the href attribute you are supposed to use for the link? I thought it was supposed to be the same as the original link below the p element:

<a href="https://freecatphotoapp.com">cat photos</a>

Also, as you can see, the words “cat photos” go between the opening and closing a tags.

1 Like