Image attribute

Tell us what’s happening:
On the lesson of how to add images to your website, I have done everything correctly but when i run the test it tells me that “your image should have an src attribute that points to the kitten image.”, i don’t this because in the out put i already have the image. Please assist.

Your code so far


<img src="http://bit.ly/fcc-relaxing-cat"alt="cute cat">
<h2>CatPhotoApp</h2> 
<main>
<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>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

As per the instruction, you need to:

  • put “img” inside the “main” tag right before “p”

Also, there should be a space before “alt” attrribute

Thank you, let me try that.

I am still stuck there after doing exactly what you suggested.

Can you paste your latest code. May be there is something missing.

CatPhotoApp

cute cat.

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

but when I run the test it brings me the same thing

You have a comma at the end in the src url
"https://bit.ly/fcc-relaxing-cat,"

Finally, thank you so much for your help.

No problem :grinning: