Step 12 Error, i think this is correct

Tell us what’s happening:
I don’t know where the error.

    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos. <a href="">cat photos.</a></p>
    <img src="" alt="A cute orange cat lying on its back.">
  **Error log**

After nesting the anchor ( a ) element, the only p element content visible in the browser should be Click here to view more cat photos. Double check the text, spacing, or punctuation of both the p and nested anchor element.

Challenge: Step 12

Please link to the challenge when asking for help or use the ask for help button.

You should replace the paragraph text cat photos with the link text. You have cat photos twice. The test also won’t accept the punctuation inside the link text.


<p>Learn to code on freeCodeCamp.</p>
<a href="">freeCodeCamp</a>
<p>Learn to code on <a href="">freeCodeCamp</a>.</p>

Outputs as:

Learn to code on freeCodeCamp.

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