Closing tag problem

Tell us what’s happening:
I am on the lesson about the A element and I did everything right but it says my A element needs a closing tag. I watched a video and read the hint. I tried everything and I have no clue whats wrong. other than “your a element should have a closing tag”

Your code so far
cat photos


<img src="" <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>
<a href="">cat photos</a>

Your browser information:

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

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Hello and welcome to the FCC community~!

You have a stray < here, in your img element, which is throwing off the tests. :slight_smile:

You made a mistake in this line of code. Please check it again.

You didn’t inserted a closing tag for < img>


<img> elements are self-closing. :slight_smile:

But in his code line he only have 1 closing tag which is for < alt> :thinking:

The code contains an <img> element - as I mentioned above, that < before the alt attribute is a stray tag and should not be there. :slight_smile:

1 Like

Oh yes. I see man thanks!
I was also having that problem :blush:

1 Like