Learn HTML by Building a Cat Photo App - Step 8

Tell us what’s happening:

Sorry, your code does not pass. Don’t give up.

Your img element’s src attribute should be set to ‘https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg’. You have either omitted the URL or have a typo. The case of the URL is important.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more cat photos in our gallery.</p>
      <img src="">

<!-- User Editable Region -->

      
        <img src = "https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">




<!-- User Editable Region -->

    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 8

Hello!

It appears there is an extra img tag above the correct one.

Try removing it, and see if that helps you pass the step.

Happy coding!

1 Like

Thanks, It has been sorted

1 Like