Learn HTML by Building a Cat Photo App - Step 11

Tell us what’s happening:
Describe your I was asked to Anchor Link’s text and that is what I have done where I am wrong and what I’m supposed to do 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>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back">
      <a href="A cute orange cat lying on its back"></a>
      <img ="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
    </main>
  </body>
</html>

I was asked to Anchor Link’s text and that is what I did where am I wrong and what I’m supposed to do?

Your mobile information:

Sechocha Ultra - Android 13 - Android SDK 33

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

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to 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!

In the step 11, you have to anchor a text which is “link to cat pictures”
Like this,

mod edit: solution image removed

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

1 Like

So, in step 10 you added the link to the anchor element and now in step 11 you need to the link’s text between the opening and the closing tag of the anchor element. That way the link’s text will appear in the displayed page and upon clicking on it the user will be taken to that particular link.