Learn HTML by Building a Cat Photo App - Step 11 how can i solved it?

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 -->
      <p>See more cat photos in our gallery.</p>

<!-- User Editable Region -->

      <a href="https://freecatphotoapp.com">click here to go to freeCodeCamp.org</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/114.0.0.0 Safari/537.36

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

Link to the challenge:

Please tell us in your own words what the problem is for your code? Describing the issue in your own words can be difficult but is an important part of coding. Is there an error message you can share with us?

“Add the anchor text link to cat pictures to the anchor element.”

How can i solved this step?

“Add the anchor text link to cat pictures to the anchor element.”

Can you tell us what you don’t understand about these instructions?

What text did you add to the anchor element? Is it the same as what the instructions are asking for?

It’s the same as what the instructions are asking for.
Can you give me an example please…

You must be looking at a very old version of this page then. You might want to hold down your Shift key and reload the page. These are the instructions you should see:

“Add the anchor text link to cat pictures to the anchor element. This will become the link’s text.”

That’s not what I stated. I think you are skipping ahead to step 12.

Ahh, I see now, you are summarizing what I said. It just wasn’t clear to me.

It was the instruction…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 link to cat pictures to the anchor element. This will become the link’s text.

So you do have the correct instructions. I would reset the step to get the original HTML back. Then follow the above instructions very carefully. The text “click here to go to freeCodeCamp.org” is just an example. That’s not what the instructions are asking you to add.

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