Help me how to make add image please

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<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>
</main>
  **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 https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

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

src

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="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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.