Please HELP:Nest an Anchor Element within a Paragraph

Please HELP:Nest an Anchor Element within a Paragraph
0

#1

Tell us what’s happening:

I need help…

I’ve been trying to get past this point for about a week now.

Everything looks fine but it won’t run.

Your code so far


<h2>CatPhotoApp</h2>
<main>
  
  <a href="http://freecatphotoapp.com" target="_blank">cat photos</a>
  
  <img src="https://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 <a target="_blank" href="http://freecodecamp.org">cat photos</a></p>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 5.0.2; SM-T531 Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph/


#2

The instructions tell you where to put the new p element. You misplaced it.


#3

The instructions state "Now nest your existing a element within a new p element (just after the existing main element). "
Instead, you did not use the existing anchor. You created a copy of it an nested it in a new p element. In your defense, the instruction should probably say “just after the opening main tag” instead of element.


#4

Thanks a lot man , it worked.