How to solve”your a element should have a closing texta closing tag”.I do it correctly but it did’nt working

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>



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

<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>
<a href="https://freecatphotoapp.com">cat photos<a/>


Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Check the position of the forward slash (/) in your closing tag.

1 Like

This is a closing /h2, compare with your closing a tag. Whats the difference?

1 Like

[quote=“frommars, post:1, topic:435383”]

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

not

1 Like

is wrong for opening or closing, end it with
new here first post.

1 Like

thank you everyone i did it