Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
Describe your issue in detail here.
I need help I’m kinda lost guys

  **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" <a> href = "https://freecatphotoapp.com"></a> alt="A cute orange cat lying on its back.">
  </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/105.0.0.0 Safari/537.36

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

Link to the challenge:

Notice how you turned the words “cat photos” into a link by wrapping it with the appropriate a tags. That’s how you turn anything into a link. So you’ll want to do that for the img tag.

1 Like

I’ll go try it out immediately
Thanks a lot

It’s not really letting me add it tbf
I tried doing it same as the last step

I don’t know what this means? You’ll need to show me your updated code so I can see what you are doing.

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself.

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

like this?

Look at what you did to turn “cat photos” into a link. You wrapped it in the appropriate a tags. Have you done that for the img tag? I think you are missing something at the end.

You’re amazing man, thank you

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