Learn HTML by Building a Cat Photo App - Step 14

I dont know what i am doing wrong
The text is vague so I dont know what’s wrong and the hint is not helping, please help

  **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."<elementname>>
  </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/103.0.5060.114 Safari/537.36 OPR/89.0.4447.64

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

Link to the challenge:

The instructions are sort of expecting you to know what it means to turn something into a link now since you’ve already done that to the “cat photos” text in the p element.

It’s the same concept for turning an image into a link. Surround it with the appropriate a tags.

The challenge is asking you to turn the image into a link so that when you click it, it will take you to the website https://freecatphotoapp.com.

It is just like the earlier challenge where it asked you to turn the text “cat photos” inside the paragraph element into a link, except now you are being asked to do it to a photo.

To do this, you simply need to enclose the entire img element within an anchor element. So you will have your opening a tag with the href , the img element, and then the closing a tag .

Hey @CodeTurtle, it appears you are new here, so just some friendly advice. It is heavily frowned upon to put the actual solution code in these forums. We try to help people find the answers for themselves instead of just giving them the answers.

Sorry about that. I have edited my response. I will refrain from doing such in the future.

Thanks for letting me know.

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