HELP PLEASE! Your a element should be a dead link with a href attribute set to #

Tell us what’s happening:

I can’t work out what I’m supposed to do for this exercise - Your a element should be a dead link with a href attribute set to # . Can anyone help?

Your code so far

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

<a> <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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36.

Challenge: Turn an Image into a Link

Link to the challenge:

the exercise is about turning the image in a link, if you look at the anchor element wrapping your image, it doesn’t have an href attribute

1 Like

What do you mean by that? Which part?

the anchor element around your image doesn’t have a href attribute

the a element doesn’t have any attribute

1 Like

Thanks! Helped me complete the exercise :grinning:

Gaximus here is the correction of your code

Enjoy html simple coding

1 Like