my code doesnt passe

Tell us what’s happening:
Describe your issue in detail here.
<p>Click here to view more<a href="https://freecatphotoapp.com">cat photos</p>

Test

Sorry, your code does not pass. Don’t give up.

Hint

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

  **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</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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.160 YaBrowser/22.5.2.615 Yowser/2.5 Safari/537.36

Challenge: Step 12

Link to the challenge:

There is no closing ‘a’ tag

1 Like

hi thanks for the replay, i think the (a) element is a self close tag …and the error says that i have another (a) element in my code that i do not have .i did by the way try to do your note by closing the tag but it’s an error, this is my (a) element syntax isn’t it? it is closed …thanks in advance

hi. I’ve copied and pasted your code, closed the a tag, added a missing space after the “view more” and passed.

thank you solved it… the closing tag i was closing just after the link, i figure it out after retaking the lesson on a anchor element. thank you bro i apreciate it