Hi i dont know how to do closing tag for a, my task not complete

Tell us what’s happening:

Your code so far

<p/> View more cat photos

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

<p>Kitty ipsum dolor sit amet, shed <a href="https://freecatphotoapp.com">everywhere</a> 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>

Your browser information:

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

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

To close a tag, you have to write / before it’s name…You’ve misspelled it
Anchor tags can be closed by </a>

Hey @muhdepul1616!

As @mukeshgurpude said change it, also the

It is only <p> as it is an opening tag

Also this is not valid html syntax

I would suggest resetting the lesson and not touching the anchor tag.

Then you can add the p tags around the anchor tag

1 Like