Learn HTML by Building a Cat Photo App - Step 11

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

  **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 cat photos.</p>
  <a href="https://www.freecodecamp.com">cat photo</a>
    <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/105.0.0.0 Safari/537.36

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

Link to the challenge:

Hello there.

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 information you give us, the more likely we are to be able to help.

A link’s text must be placed between the opening and closing tags of an anchor (a) element. For example, <a href="https://www.freecodecamp.org">click here to go to freeCodeCamp.org</a> is a link with the text click here to go to freeCodeCamp.org.

Add the anchor text cat photos to the anchor element. This will become the link’s text. this is what they ask me to do and Im confused

You don’t need to copy-paste the instructions. I can see them.

I can’t see into your brain. What part of the instructions has you stuck? Which terms or phrases?

link the text with anchor

Ok, but you have anchor text here

  <a href="https://www.freecodecamp.com">cat photo</a>

Look specifically at the text. Is it exactly 100% identical to the text from the hint

Add the anchor text cat photos to the anchor element.

what element that is the part where i’m confused

It is the element this step is telling you to edit.

sorry but i dont get that

Look on your screen. You should see these exact characters on your screen. They should be on line 8. Do you see them?

On this line is the text cat photo, but the instructions say

Add the anchor text cat photos to the anchor element.

cat photo is not identical to cat photos

1 Like

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