Can you help me with this challenge?

Tell us what’s happening:

I thought I would have completed but there was something wrong and it didn’t run, please help me. It said that " Your image should have a " src " attribute that points to the kitten image" and I have no idea what to do.

Your code so far


<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>
<img src="https://bit.ly/fcc-relaxing-cat.jpg"alt="A cat is relaxing.">
>

Your browser information:

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

Challenge: Add Images to Your Website

Link to the challenge:

Read the instructions carefully. You have not put the image element where specified.

1 Like

should be https://bit.ly/fcc-relaxing-cat without the .jpg, just a typo.

Within the existing main element, insert an img element before the existing p elements.

After the opening main tag then you should place the img tag.

1 Like