Failing to do 8 where I have to add the picture the src and att

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

  **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"http://www.bit.ly/fcc-relaxing-cat alt fcc -relaxing-cat">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 10; SAMSUNG SM-A115F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/11.0 Chrome/75.0.3770.143 Mobile Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hi @Linda2 !

Welcome to the forum!

I would reset the lesson because there are a few issues.

This is the proper structure for an img tag.

<img src="url goes here" alt="alt text">

Also, your img tag needs to be inside the main tags. Not outside.
Hope that helps!

<main>

<img src="http://www.bit.ly/fcc-relaxing-cat" alt="relaxing cat">

  <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>

Let’s try to add an image to our website:

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

Now set the src attribute so that it points to the url

http://www.bit.ly/fcc-relaxing-cat

Finally, don’t forget to give your image an alt attribute with applicable text.

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