Learn HTML by Building a Cat Photo App - Step 12 - Your code should only contain one anchor (a) element. Remove any extra anchor elements

Tell us what’s happening:
Not really sure what am doing wrong

  **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 <ahref="https://freecatphotoapp.com"</p>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 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0

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

Link to the challenge:

hey @Teena . So there asking you to make “cat photos” a link. which will be done by wrapping the anchor elements around that text. I see you attempted it but forgot to add space between the “a” and “href” while forgetting the “>” in the opening “a” tag.

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

should look like

<p> Click here to view more <a href="https://freecatphotoapp.com">cat photos</a></p>

hey ik this isnt for me lol but tysm! ive been stuck on this for an hour and a half srsly ty.

1 Like