Learn HTML by Building a Cat Photo App - Step 12

Hello, Cheery here. I am a newbie up here. I need help with the Step 12 of the “Learn HTML by Building a Cat Photo App”.

The Hint keeps telling me “your code should only contain one anchor (a) element. Remove any extra anchor elements”.

How do i go about this?

  **My 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</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: Learn HTML by Building a Cat Photo App - Step 12

Link to the challenge:

you only need to wrap your a tag around the existing cat photo words, what you done already is correct

1 Like

Thank you very much.

1 Like