Basic HTML and HTML5 - Add Images to Your Website

i am trying to add img element followed with scr and alt attribute.
When i run my test the error displayed is Your image should have a src attribute that points to the kitten image.

  My code is
<h2>CatPhotoApp</h2>
<main>
<img src="https://cdn.freecodecamp.org/curriculum\cat-photo-app/relaxing-cat.jpg" alt="A Cute Cat">
<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>

Please help me through it.

  **Your browser information:**

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

Challenge: Basic HTML and HTML5 - Add Images to Your Website

Link to the challenge:

Hi! Welcome to the forum!

Compare your src

https://cdn.freecodecamp.org/curriculum\cat-photo-app/relaxing-cat.jpg

to the one the lesson provides

https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

Notice any differences? It is a good idea to copy and paste the src/hyperlinks the lesson provides to avoid mistakes.

Thanks a lot! That was really helpful

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