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
my problem is that the cat photo link is not given
you have showed pretty clear what to writ inside an (") and im putting the catphotoapps’s link but it is not telling me what im doing wrong

<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  href="https://freecatphotoapp.com"</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:

Hi!
The lesson instructions say:

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

The anchor text in your code is click here to go to href="https://freecatphotoapp.com

The text needs to be link to cat pictures .

1 Like

I’ve tried it but it is not accepting

Please share your code, I can’t check to see what is wrong without it. :slight_smile:

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

1 Like
<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>
      <a href="https://freecatphotoapp.com">click here to go to href="https://freecatphotoapp.com"</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>

I’ve edited your code for readability, but next time please follow the tutorial in my last comment.

Your anchor text is:

click here to go to href="https://freecatphotoapp.com"

Your anchor text should be:

link to cat pictures

Incase it helps, here is a quick example of where the anchor text is in an anchor element.

<a href="example.com">I am anchor text.</a>

1 Like

I’m still having the same problem

Please share your code again, as I said last time I can’t find the problem without seeing it.

1 Like

i solved it thank you for your kind help

1 Like

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