Learn HTML by Building a Cat Photo App - Step 14

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

Seems like my code is correct according to: HTML Link – How to Turn an Image into a Link and Nest Links Inside Paragraphs
But the image won’t show up, so the link from the image won’t show up as well. Hope someone can 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>
    <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/>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) 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:

You’re missing an " after the href= link ["]>img…
so it should be:
A cute orange cat lying on its back.

Thank you! Image showed up, but code still isn’t running properly. I am getting the following:

Hint:
You should only add one opening anchor (a) tag. Please remove any extras.

But bizarrely enough, it seems that I have done it correctly according to the guide posted by freecodecamp in my post.

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