I am missing something

Tell us what’s happening:

Says I am not closing the A

Your code so far

<a><p>Click here to view more <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" </a><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 s,unbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 9; moto g(7) play) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36.

Challenge: Turn an Image into a Link

Link to the challenge:

If it says you are not closing a tag, it means you need a backslash like this </>

Two things:

  • You have this <a><p>. This opening a tag doesn’t have a closing tag. It also doesn’t belong where it is.
  • Then there’s this <img src="https://bit.ly/fcc-relaxing-cat" </a>. Because you didn’t complete the opening tag of the img element (you are missing a >), your closing a tag is seen as being part of the img element.

<a href="#"><p>Click here to view more</p> <img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

I got it. I moved on now. Thanks

Hi, on line “3” you are not closing </ > the tag “a”, check again :slight_smile: