Learn HTML by Building a Cat Photo App - Step 8

Tell us what’s happening:

Test Image A relaxing cat My code does not pass please help

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves cute cats online!</p>

<!-- User Editable Region -->

<head>
<title>Test Image</title>
</head>
<body>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A relaxing cat">
</body>
</html>

<!-- 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/129.0.0.0 Safari/537.36 Edg/129.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 8

You seem to have duplicated some of the HTML. Reset and only add what is asked for.

You also should not add an alt attribute to the element, as that wasn’t asked for.


All you are asked to do is add the src attribute to the img element and give the URL found in the requirements. Never do more than what is in the requirements, it will often break the tests.