Nest an Anchor Element within a Paragraph, "View more"

Tell us what’s happening:
Describe your issue in detail here.
I have coded as below, but I run a test its throwing up errors. Not sure why need at least 3 ‘p’ elements either
Do I need to open in new tab?

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>

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

<img src="https://www.bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
<p> View more </p>  
<p> 
View more <a> target="_blank" href="https://www.freecatphotoapp.com" cat photos</a> 
</p>
  **Your browser information:**

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

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

So the number of <p> elements is just what they decided was need for the challenge.

Your issue is that you’ve incorrectly written you <a> element. Look back at the example in the challenge and compare it to what you’ve written.

Thanks Miles, I checked back examples and got it right. Now moved on.

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