Closing tap won't work even tho it is closed

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

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

<a href="#"> <img src=""> <alt="A cute orange cat lying on its back."</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_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15

Challenge: Turn an Image into a Link

Link to the challenge:

Hello there,
You are given as an example:

<a href="#"><img src="" alt="Three kittens running towards the camera."></a>

Compare this to how you wrote your code:

Hope this helps.

i changed it ti that and it still wont work

There are multiple errors in your code.

1-> You have added an extra <a> tag here. <a /> Is also the wrong way to do it. Delete it.
Anchor tags arent self-closing and follow the standard format of <a></a>

Look carefully. You shouldnt close the image at the alt. The alt is an attribute OF the <img> and should be inside the image , not outside as another tag. Correct it. Looking again, you forgot to close the img the tag. Close it.

<img src="blahblah" alt="my alt">

Good luck :+1:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.