Learn HTML by Building a Cat Photo App - Step 7

Tell us what’s happening:

it keeps marking the closing img tag as missing

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></img>
    </main>
  </body>
</html>

Your mobile information:

iPhone - iOS17.6

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

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Because img tags are self closing, you should delete the </img>

Hey Buddy, As you know img is a void element.

Void elements are those in which we don’t add closing tag.

Hope you will definitely remove the closing img element

Happy Coding !!