Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
I have problem solving HTML step 14. I feel like I tried most things but I can’t get it to work so I would need some help and guiding.

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

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15

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

Link to the challenge:


Hey! whenever you’re stuck on a problem , your first reaction should be to take a look at the instructions that you’ve been given to make sure you’re doing exactly what the challenge asks you to do. These are your instructions for the challenge.


If you wrap any HTML element with an <a> tag, it becomes a clickable link. So To pass this challenge, all you need to do is wrap your existing img element with an anchor tag and give it an href and it should work just fine.

Hope this helps! :smile:


Thank you for your reply sadly I would need a more detailed reply.
I have gone back and looked at this and tired to wrap my HTML element with and
<a> tag in different ways but I don’t get it to work.

The a tag is used to link webpages together. so for example if you have a webpage which when you click it, takes you to google.com You can do something like this:

//    destination-link        link text
             |                    |
<a href="https://google.com"> a link to google </a>

even though the user will only see the text a link to google and when someone clicks it, the user will be taken to the google’s website.

Here in the same way, you need to a link to https://freecatphotoapp.com with the text existing image in this challenge.

Thank you for your help!

I had done right before but it was something wrong with the computer I used when I used another one it worked.

1 Like

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