Learn HTML by Building a Cat Photo App - Step 15

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 OPR/106.0.0.0 (Edition std-2)

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 15

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!

Hello there :wave:
It seems that you forgot to close you <a> opening tag just before the img element, that causes an error in your code and so your image isn’t displaying properly.
Just add the little > to close you opening anchor tag and it will be fine!

2 Likes

Hi there , Thanks for your help

1 Like

You’re very welcome ! Feel free to mark my answer as a solution to close the topic :smiley:

Thank you so much , can you help me with the last step

Sure ! tell me what can I do :slight_smile:

In the last step , i’m aquired to give meta element a charset with UTF-8 , i did not know where to put the meta elemnt’s ending tag

<meta charset="UTF-8>" CatPhotoApp

meta is a selfclosing element, meaning it doesn’t have a closing tag. Can i please have your whole code so i can help you better though ?

Aaaaaah okay , it is solved now , when you said it’s self-closing i just ommitted >

Glad i could help :slight_smile: