Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
Please help me.How can i solved it???

Your code so far

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

<!-- User Editable Region -->

      <p><a href="https://freecatphotoapp.com">cat photos</a></p>

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

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

Link to the challenge:

Take another look at what the problem is asking you to do. It wants you to only replace the words “cat photos” with a link. The rest of the text in the paragraph element should be left the same.

2 Likes

Hello!
You have anchored the words cat photos, as it asks you to do.
However the anchor was to be placed within the sentence so nothing else is removed or added.

I hope this helps you.
Happy coding!

1 Like

Still it’s not solving

cat photos

Tell us what’s happening:
Describe your issue in detail here.
I am so tired to solve this stage.Please help me with example
Your code so far

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

<!-- User Editable Region -->

      <p><a href="https://freecatphotoapp.com">cat photos</a> </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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

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

Link to the challenge:

Restart step.

In the existing sentence between ‘p’ tags, surround only the words “cat photos” with anchor tags:

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

This is guidance.

2 Likes

Text two words text.

It's not working

cat photoscat photoscat photos.

Let me see your updated code.

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