Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Describe your issue in detail here.
You should have an img element with an src value of https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg . You may have accidentally deleted it.
Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

<!-- User Editable Region -->

      <a href="https://freecatphotoapp.com" <img src='https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg' alt="A cute orange cat lying on its back."></a>

<!-- User Editable Region -->

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

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

Link to the challenge:

Hi there and welcome to the forum!

You are getting a slightly misleading error message as there’s nothing wrong with your img element, but you are missing something from your opening anchor tag…

1 Like

What exactly are they missing? I keep getting the same error, and I have no idea what the opening anchor tag is missing.

Look before your img starts. Theres something that needs to come right before your img. What do you put at the end of your opening anchor tag?

1 Like

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