Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
im facing issue in step 14
its telling me to turn image into link by using anchor tag which href tag i’m doing it but its not working for me can you someone please tell me whats happening here and tell me describe it to me i shall be very greatfull to you.
thanks

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
    <a href="https://freecatphotoapp.com">
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

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

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

Maybe you can put your <img> tag inside the <a> opening tag and </a> closing tag.

Hey @abdulwahab27
You should wrap your img tag with anchor tag and use “https://freecatphotoapp.com
for href attribute.

yeah bundle of thanks got it

1 Like

thanks alot got it i was just missing closing tag cause it was telling me again that only use opening tag

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.