Step 12 Error, i think this is correct

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


<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos. <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.">
  </main>
</body>
</html>
  **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.


Example:

<p>Learn to code on freeCodeCamp.</p>
<a href="https://www.freecodecamp.org">freeCodeCamp</a>
<p>Learn to code on <a href="https://www.freecodecamp.org/">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.