Learn HTML by Building a Cat Photo App - Step 8

Tell us what’s happening:

how to close image attribute it keeps refusing the test

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more cat photos in our gallery.</p>
<image//
src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"image>

<!-- User Editable Region -->

    </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/127.0.0.0 Safari/537.36 Edg/127.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 8

Hey Buddy , here kindly check how we use to assign image tag ?

Do we put the full name or short one ?

Please think and then answer !!

1 Like

here’s an example of how to write an img element:
<img src="a-link-goes-here">

Try to do the same as the given example.
Click reset and try again.

Hello there!
This will help.

1 Like