Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
i am getting an error saying to remove any extra anchors

  **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 target="_blank" href="https://freecatphotoapp.com">cat photos</a></p>
<a target="_blank" href="https://freecatphotoapp.com"</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 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0

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

Link to the challenge:

1 Like
  • You haven’t closed the opening a tag correctly - You forgot to put the > after the href link.

  • The closing </a> should be after the img element

1 Like

ok so i changed it and still the same error

<a target="_blank" href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."</a>

This time, you haven’t closed the img element properly (you forgot the > before the </a>).

3 Likes

thank you for letting me gaze into your infinite knowledge of coding cryptic i appreciate it :handshake:

2 Likes