How can add an image

Tell us what’s happening:

not sure what am missing here i need to to add the cat image and i just seem stuck with this. any help will be highly appreciated. as am new to this and i just need help thank you advance

Your code so far

<a img src=""> <alt="Author standing on a beach with two thumbs up"</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/75.0.3770.142 Safari/537.36.

Link to the challenge:

@Yassir, it looks like you downgraded img tag to attribute and upgraded alt attribute to html tag. I suggest to have a look at html tags:

Good luck!

you didn’t close tags well, the right code is:
<a href="#><img src="#" alt="#></a>

1 Like

There is a lot wrong with your code your <img> Should not be in a <a> element .

<alt is not a element.
You were given an example

<img src="" alt="Author standing on a beach with two thumbs up.">

Look at how your code differs from the example.

alt is not a tag it’s an attribute of img just like src

Hello, @Yassir you should try the format below:

<a href="url"><img src="img.jpg/png/gif" /></a>