Anchor element not working

Tell us what’s happening:
Says the code is wrong because there should only be one anchor element yet I only have one. Something else is wrong and idk what.

    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a href="">cat photos</p> 
    <img src="" alt="A cute orange cat lying on its back.">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.66 Safari/537.36

Challenge: Step 12

Link to the challenge:

HI @faateh.kahn !

Welcome to the forum!

Remember that anchor elements have opening and closing tags.
Your code is the missing the closing anchor tag.

If you need extra help, here is what the starter code for the anchor tag looked like.

<a href="">cat photos</a>

Now compare it with what you wrote

Literally just realised :man_facepalming: Thanks!

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.