Adding an image with an "src" pointing to the image added

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

   **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img src="https://www.freecatphotoapp.com/your-image.jpg">
<!-- alt="A business cat wearing a necktie."> -->
<img src="http://cdn.freecodecamp.org/curriculum/catphoto-app/relaxing-cat.jpg" alt="A relaxing 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>
   **Your browser information:**

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

Challenge: Add Images to Your Website

Link to the challenge:

You need to take out the first img tag on that code, since it was just an example to better demonstrate the challenge objective. All you need to do here it’s put an image like you just did with the second img tag using the link provided, alongside an alt attribute.

Hi @oluwasegunfunmi and welcome to the forum!!!

There are some mistakes:

  1. Remove the first <img> element → <img src="https://www.freecatphotoapp.com/your-image.jpg">.
  2. The src of the second <img> element is wrong, the correct one is this: https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg.

Fix these things and you’ll pass the test.
I hope I was helpful. :wave:

Thanks a bunch finally gotten over it

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