Learn HTML by Building a Cat Photo App - Step 8

Hello everyone,
My problem is with the SRC I have checked for typos and read other threats but can’t seem to solve the problem. TIA.

  **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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

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

Link to the challenge:

Why do you have two <img> tags? This is throwing the tests off.

Thank you, sure because img uses a self closing tag always right?
But even with only the opening tag the code does not pass.
Any other suggestions?

hey, just reset the test and try again without closing the img element with src attribute.

Ok, I will give that a try. Thanks.

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