Hi, I completed this but it's still asking anchor element nested in the P element. I to complete this?

Tell us what’s happening:
Describe your issue in detail here.

  **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>Cat eats grass for growing fast. Many trues are lie but <a href="htpps://www.freecatphotosapp.com">cat photos</a> is wonderful to view more always.</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>
If you want see more <a href="https://wwww.freecatphotoapp.com" target="_blank">cat photos</a> you should open the link to view more cat photos.
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

Hello,
First of all

You should only have one a element

Here, I can see you added another a element. now you have two a element.

<p>Cat eats grass for growing fast. Many trues are lie but <a href="htpps://www.freecatphotosapp.com">cat photos</a> is wonderful to view more always.</p>

And make sure your a element is nested within the new p tag as well.

Hi, I removed the element
If you want see more <a href="https://wwww.freecatphotoapp.com" target="_blank">cat photos</a> you should open the link to view more cat photos. but still i have the issue. I’m getting this message // running tests You should only have one a element. Your a element should be nested within your new p element

Your text should say

View more cat photos

instead of cat photos.
Hope this helps.

I finished bro.
I removed cat photo a element and add View more to all p elements.
That instructions are tricky.
Thanks.

Well done.
You only needed to actually add View more to the p element which contains the a tag link as now all your paragraphs would start with View more which you probably wouldn’t want on a typical webpage

1 Like

Yeah I agree with that… :+1:

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