Src pointing to thr image

error in my src code
i am getting an error that src should point to the image, and i have followed all the help. please can u assist.

  <img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">

<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://www.freecatphotoapp.com/your-image.jpg" alt ="A business cat wearing a necktie.">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

The first instruction in the lesson says
" Within the existing main element, insert an img element before the existing p elements."

Your code is outside of the existing main element.

Further, you were to set the src attribute to https://www.bit.ly/fcc-relaxing-cat
You src attribute is a copy of the lessons sample which is not the same.

thank you so much. i read through again and i got it.

1 Like

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