Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
I can’t get passed the 12th step of building a cat photo app yet. It keeps telling me

" The link’s text should be cat photos . You have either omitted the text or have a typo."

I’ve looked over it again and again and it doesn’t’t look like there’s a problem with it. What can I do?

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p> See more <a href="https://freecatphotoapp.com"</a> cat photos in our gallery. </p>
      <a href="https://freecatphotoapp.com">link to cat pictures</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 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36

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

Link to the challenge:

You just added a link in the text, but the directions tell you to turn the words “cat photos” into a link. You use the text of cat photos that is provided by the challenge, and surround that text in anchor tags

2 Likes

but when i do that it tells me to turn it back to cat photos in gallery

Show us what your code looks like when you make cat photos into a link. You can use the button </> when you reply and paste your code between the lines it gives you

1 Like
<p> See more <a href="https://freecatphotoapp.com" </a> cat photos </p>

compared to 

See more <a href="https://freecatphotoapp.com" cat photos in our gallery.

You didnt turn the words cat photos into a link you just deleted some of the text. So when the challenge tells you to surround the words “cat photos” in anchor tags it means that the text needs to go in between the

<a href=“link”> </a>

It needs to go between those tags. You are going to need to add the text you deleted back.

1 Like

Did I do it right? Also thanks for all the help

It looks good. Its better if you post the actual code so we can copy it and run the challenge ourselves. I would remove the space that comes after the href equal sign

Also make sure that there is no space between > and the word “cat”

And no space between the word photos and the </a>

1 Like

Welcome to our forum!

I have removed your post due to it containing the solution for others to view.

Congrats on finding the solution!
Happy coding!

This text will be blurred

It is great you solved the problem. :slight_smile:
However, we do want others to find the solution without the answer showing in a post.

Happy coding! :slight_smile:

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