Basic HTML and HTML5 - Add Images to Your Website

Tell us what’s happening:
Describe your issue in detail here.
it keeps saying Your image should have a src attribute that points to the kitten image.

Your code so far

<h2>CatPhotoApp</h2>
<main>


  <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.<img src="https://images.pexels.com/photos/45201/kitty-cat-kitten-pet-45201.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1" alt="cute cat smiling"></p>
</main>

Your browser information:

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

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

Link to the challenge:

The reason you are not passing the test it’s because you have to use the link they provide you.

The img should be inserted before the existing p elements not inside.

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