Can't get this to work, someone please help

Tell us what’s happening:

Thought I did what needed to be done but i repeatedly get the message “a elements should have a closing tag”. Can someone help me understand what exactly is the problem?

Your code so far

<p>Click here to view more <a href="#">cat photos.</p><a/>

<a href="#"><img class="smaller-image thick-green-border" alt="A cute orange cat lying on its back. " src=""></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>

Your browser information:

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

Challenge: Turn an Image into a Link

Link to the challenge:

Hey @Zlevy210!

The problem is here.

<p>Click here to view more <a href="#">cat photos.</p><a/>

The a goes after the forward slash not before.

Hope that helps!


Also, shouldn’t the closing a tag come before the closing p tag??


Oh yeah that to. Good catch.

1 Like