Help me how to make add image please

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

  **Your code so far**

<img src="photo-cat.jpg" alt="photo-cat.jgp"/>

<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>
  **Your browser information:**

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

Challenge: Add Images to Your Website

Link to the challenge:

You did not use the url you were told to use. Reread this instruction:

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

Now I am stuck where it says Your image should have a


attribute that points to the kitten image.

How do I do this I have been stuck

Now change the src in your code.
You have it as <img src="photo-cat.jpg" alt="photo-cat.jgp"/>, change it to the provided one in the instructions: <img src="" alt="A kitty">

done thanks what is a element closing tag

1 Like

For example, <p> is starting tag of a paragraph and </p> is the closing tag
The same happens with h1 - </h1> or any other HTML element.
The closing tag includes a forward slash at the beginning as the word says it is meant to close.

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