Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
What IM DOING WRONG!!!

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 cat photos in our gallery. </p>
      <a href="https://freecatphotoapp.com">cat photos </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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15

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

Link to the challenge:

1 Like

Welcome to our community!

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 im tryng to figure this out

Can you help me?im new programing

Restart step.

In the existing sentence between p tags, surround the words “cat photos” with anchor tags.

P.S.
You have added the new code line unnecessarily, and duplicated the words “cat photos”. Also, you have deleted the second code line, given in this challenge by default.

2 Likes

ok but it keeps teling me that I need to put an a anchor

Don’t give an explanation in words. Post the code.

CatPhotoApp

Cat Photos

  <p>See more "cat photos" in our gallery.</p>
  <a href="https://freecatphotoapp.com">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>

Take a look at the second code line to see how the text has been turned into a link. You should do the same thing with the words “cat photos” in the first code line:

<p>Text <a href="url">two words</a> text.</p>

This is guidance.

2 Likes

OHHH ok and one more thing do you guys do programing of like games of something?

Well, some of the members of this forum surely do, but that is the question for other forums. Here, we just provide help for those who encountered an issue in the HTML/CSS course.

2 Likes