A element closing tag

Tell us what’s happening:
its says a element should have a closing tag , but in my code i have closing tag , but the error comes again aand again
can someboday help me
thank you
Your code so far


<h2>CatPhotoApp</h2>
<main>

<a href="http://freecatphotoapp.com">cat photos</a>
 <img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."> cat photos </a>


 <p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
 <p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
   **Your browser information:**

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

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Hi @denosh !

Welcome to the forum!

The problem is here

I am not sure why that is there but you need to delete that extra </a>
This is right after the image tag.
This line

Also, I am not sure why you added cat photos at the end of your img tag

You didn’t need to touch the image tag at all.

Reset the lesson and just add the anchor tag and nothing else

Hope that helps!

hey thanks and its works

1 Like

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