Learn HTML by Building a Cat Photo App - Step 12

The instruction in step 12 is :
In the text of your p element, turn the words cat photos into a link by adding opening and closing anchor (a ) tags around these words. Then set the href attribute to https://freecatphotoapp.com
this is my line code in step 12:

cat photos

and I receive this message: After nesting the anchor (a ) element, the only p element content visible in the browser should be See more cat photos in our gallery. Double check the text, spacing, or punctuation of both the p and nested anchor element.

        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

        <p><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.">

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Safari/605.1.15

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

Link to the challenge:

You did turn the words “cat photos” into a link correctly, but you removed the rest of the text in the p element. All the text that was originally there should still be there. If you can’t remember the text you deleted then I would reset the step to get it back and then be sure to only add the a tags to make “cat photos” a link and don’t change anything else.

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