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>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos.</p>
      <a href="https://freecatphotoapp.com">click here to go to link to cat pictures </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/106.0.0.0 Safari/537.36

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

Link to the challenge:

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!

i can’t do step 11 i don’t know how i can do that

Can you say anything more specific about what has you stuck?

I would guess you are getting an error message about the wrong link text. It looks like you have typos.

i think i do right but it said that it wrong and i can’t do anithing

Yes, it is obvious that you think your answer is correct when it is in fact wrong. That is not helpful information. Helpful information would be telling me why you find the error message confusing.

The error message says

Your anchor (a) element’s text should be link to cat pictures.

Do you understand what that sentence means? Is your text written here exactly what you were told to write?

Learning how to talk about code is hard. It takes practice.

yes i do i controlled now and it’s the same

hi Ethan, if you still need help please post your newest code

Yup. We need to see your latest code if you fixed the text to exactly match the instructions. The last code you posted does not match.

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

i write this

That is not the exact text you were told to use. It looks like you did not change it to what the instructions told you to use.

To be 100% clear, this text is wrong:

I’ve edited your code for readability. 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 (').

<p>Click here to view more cat photos.</p>

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.

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

This is wrong.

This is the text you must use

This is what you wrote

They are not identical.

You must write exactly and only what you were told to write.

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

it said that is wrong

What is all of your code?

Did you try removing the extra space after ‘pictures’

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos.</p>
 <a href="https://freecatphotoapp.com">click here to go link to cat pictures</a>

Why did you delete half of the provided code?

This is still wrong. Stop using it.

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

thnks it work thank you so much

1 Like