I am not able to add src attribut to my image

Tell us what’s happening:

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>


<img src="<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>""
alt="<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 (Linux; Android 11; SM-M215F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.105 Mobile Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

There are many mistakes in this code.
First you close the img element tag.
Then for the src attribute give any image link or the path.

I think this is what you wanted to do 8 )

<h2>CatPhotoApp</h2>
<main>

<img src=" ..path/image" alt=" text_about_image ">

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

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