Learn HTML by Building a Cat Photo App index.htmleditor

Tell us what’s happening:
Describe your issue in detail here.
Hello, I have a problem in bypassing step 12 below:
Turn the words cat photos located inside p element into a link using the same value for the href attribute as the link below the p element. The p element should show the same text in the browser, but the words cat photos should now be a link. Make sure to remove the a element with the text cat photos on the line below the p element.

If anyone may help me with this step I will greatly appreciate. Thanks in Advance!

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more https://freecatphotoapp.com.</p>
    href=cat photos
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Step 12

Link to the challenge:

Look closely at the original link that was below the p element:

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

Do you see how the link has opening and closing a tags that wrap the words “cat photos”. That’s exactly what you want to do to the words “cat photos” inside the p element. I would probably restart the step to get the original HTML back and then add those a tags around “cat photos” in the p element.

1 Like

Thanks. I have been able to move around it.

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