I don't understand, why it's not correct

Tell us what’s happening:
Describe your issue in detail here.

  <p>
<a href="https://freecatphotoapp.com">Click here to view more cat photos.</a>cat photos
</p>

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>
    <a href="https://freecatphotoapp.com">Click here to view more cat photos.</a>cat photos
    </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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36

Challenge: Step 12

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

This isn’t the direction the instructions wanted you to go. I’d reset the code.

You need to replace the phrase ‘cat photos’ in the original p element with the full anchor element

Can you please show me the correct code…
that would be very much helpful…

We do not write solutions for users.

Have you tried resetting the code?

This is what it originally looked like:

      <p>Click here to view more cat photos.</p>
      <a href="https://freecatphotoapp.com">cat photos</a>

I tried it in this manner

<p>Click here to view more cat photos.
<a href="https://freecatphotoapp.com">cat photos</a>
</p>

…still its not right

I’ve edited your post 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 (’).

You have cat photos twice. It should only be in the paragraph once.

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
  <p>Click here to view more cat photos.<a href="https://freecatphotoapp.com">cat photos</a></p>

<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36

Challenge: Step 12

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

The phrase ‘cat photos’ should only appear in your code once. You have it twice.

Okay… that worked
THANK YOUU. :heart_eyes:

1 Like

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