Learn HTML by Building a Cat Photo App - Step 8

Tell us what’s happening:
I don’t get why my

Is not working :frowning: Someone please help me!
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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 8

Link to the challenge:

The image shows up but it tells me I need to:

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 has passed on my side.
Try the following:

  • Reset step
  • Refresh page (F5)
  • Some browser extensions, such as ad-blockers and dark mode extensions can interfere with the tests.
  • If you are having problems, recommendation is to disable extensions that modify the content or layout of pages, while taking the course.
    • Try a different browser.

Thank you! I have just turned on dark mode so maybe that interfered. Let me check…

1 Like

Your solution is correct, but you added this line above and it needs to be deleted.

2 Likes

Yes @partum !!! Thank you!

1 Like

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