Learn HTML by Building a Cat Photo App - Step 8

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

Saying code does not match. I am having this message after submitting my code

Test

Sorry, your code does not pass. Try again.

Hint

Your img element should have an src attribute. You have either omitted the attribute or have a typo. Make sure there is a space between the element name and the attribute name.

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>
    <img>
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
  </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/104.0.5112.81 Safari/537.36 Edg/104.0.1293.54

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

Link to the challenge:

Notice that you put the img element in twice. Delete the one without the link.

You saved me my dear friend. thanks a million.

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