Learn HTML by Building a Cat Photo App - Step 8

Tell us what’s happening:

It’s say Your img element should be closed either with > or />. but I don’t see what I’m doing wrong here

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 -->

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"</img>

<!-- User Editable Region -->

    </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/18.2 Mobile/15E148 Safari/604.1

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 8

Your img element isn’t closed. That’s what the hint is trying to tell you.

1 Like

Hey Buddy, Here kindly do remove the closing img element and there should be a close bracket >after open img element

Hope You Understand !!