Learn HTML by Building a Cat Photo App - Step 12

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

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more cat photos <a https://freecatphotoapp.com="cat photos"> in our gallery.</p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>

<!-- User Editable Region -->

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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/113.0.0.0 Safari/537.36

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

Link to the challenge:

Welcome to the forum!

Please Tell us what’s happening in your own words.

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

Also, the more you say, the more we can help!

Hi! It’s saying I’m typing in the code wrong. I have to include the link inside of the ‘p’ element but I keep doing it different ways and I don’t think I understand. Should I include the link as the href value and equal it to “cat photos” or is there another way?

In the text of your p element, turn the words cat photos into a link to https://freecatphotoapp.com by adding opening and closing anchor (a ) tags around these word - this specifically is confusing me.

I’m trying to figure out how to include the link onto cat photos

1 Like

No worries, we can work this out. So, the instructions say

" In the text of your p element, turn the words cat photos into a link to https://freecatphotoapp.com by adding opening and closing anchor (a ) tags around these words."

Your href is going to https://freecatphotoapp.com

You are actually closer than a lot of people when they first attempt this challenge. So when it says “add opnening and closing anchor tags around these words” you can actually use code that is already in this challenge as an example

<a href="https://freecatphotoapp.com">link to cat pictures</a>

Here, the anchor tag is around the words “link to cat pictures”. You need to do the same thing, but for the words “cat photos” in the sentence that the challenge gives you. Make sure to use the correct link that the challenge gives you inside the href

1 Like

Welcome to freecodecamp forum kayli14.cp!
I would like to say the clarification of your issue with understanding the instructions was great! As you have discovered, through Leader Cody_Biggs assistance, you made it much easier for him to assist you.
Keep up the great work, and “Happy Coding!”