Trouble with Learn HTML Step 12

Hello,
I’m not sure what exactly is wrong with the code. I’m also not understanding the directions as well when the code doesn’t work.

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.
      <a href="https://freecatphotoapp.com">cat photos</a></p>
    <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/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 12

Link to the challenge:

In your code the <a ...> ... </a> should have the text “cat photos” inside it.

Based on your code below, your <a> should be surrounding the text where I put the **.
So there shouldn’t have any cat photos text duplication.

Thank you so much! the duplicate was throwing me off

1 Like

hey man could you give me a hand? I still don’t understand the problem here.

The directions were to add an anchor (a) around the words cat photos, OP typed a duplicate “cat photos” that wasn’t needed.

could you be more especific please?

Instead of typing as above, what OP should have done is typed the “a” anchors so that the original “cat photos” was the one enclosed.

I’m not sure how to be anymore specific. We don’t post correct code, if that’s what you want.

ofcourse, I know the rules. thanks for helping I’ll be figuring this out in anytime

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