Learn HTML by Building a Cat Photo App - Step 8

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos.</p>
     <img>"src=https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxin-cat.jpg">
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 15_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Mobile/15E148 Safari/604.1

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

Link to the challenge:

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

Hi!
Try removing the > from your opening img element.

1 Like

Remove this “>” from img

Img is a self-closing tag, i.e., it requires no closing tag.

And, the syntax goes like this:

             <img src="url-of-image">

Here, “src” attribute is basically source

Finally, Happy Coding…

2 Likes