Cant understand src attribute

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img src="https://cdn.freecodecamp.org/curriculm/cat-photo-app/relaxing-cat.jpg" alt="a business cat wearing a necktie" 

<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

Challenge: Add Images to Your Website

Link to the challenge:

“src” stands for “source”, as in the “source” for the image, the address where it can be found. You provided the src requested, but you have a spelling mistake. If I fix that mistake by adding a letter, your code passes for me.

Not sure but isn’t the “img” element supposed to self-close?

1 Like

Yes, good point. It still works without it, it just sees the > at the end of the first <p>, which screws up the paragraph. It still passes the test, but you’re right, that should be closed. Good catch.