Learn HTML by Building a Cat Photo App - Step 12

“In the text of your p element, turn the words cat photos into a link to https://freecatphotoapp.com . When you are done, remove the old anchor tag and text below the paragraph.” I can’t understand what they’re trying to say, can someone help me please?

  **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.</p>
    <a href="https://freecatphotoapp.com">cat photos</a>
    <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/103.0.0.0 Safari/537.36

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

Link to the challenge:

<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>
    <! Delete the <a> tag below this comment -->
    <a href="https://freecatphotoapp.com">cat photos</a>
    <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>

I’ll delete the entire line?

You have already created a “cat photos” link below the p element:

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

In other words, you have turned the words “cat photos” into a link by wrapping them with a tags. This step is asking you to do the same thing to the words “cat photos” in the p element.

1 Like

As the question implies, turn the texts in the <p> tag into a link, therefore you simply rewrite the line like so <p><a href=" https://freecatphotoapp.com">cat photos</a></p>, then after that you delete the old <a> tag below the <p> tag, like I said earlier

1 Like

thanks a lot for helping i’ll imply this and solve it

thank you so much for the help

hey everyone still, trying to solve this problem . thanks for the help but still in progress with this step

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