I need help my friends

Tell us what’s happening
what did i miss

Your code so far
63355


<h2>CatPhotoApp</h2>
<main>
<p>view more cat photos <a target="Cat photos" href="http://freecodecamp.org">link to freecodecamp.org</a>.</p>
<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>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36 OPR/67.0.3575.137.

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

Hi,

The failing test says:

Your a element should be nested within your new p element.

Similarly, this x element is nested within an y element:

<y>
  <x></x>
</y>

I have no idea what that mean

Wrap your a tag in p tag like this

<p>
    View more <a href="example.com">cat photos</a>
</p>

Your place of a is your problem and see also your target attribute

Wrap the “cat photos” in the a tag.

Like this my friend sorry for my first comments.

1 Like

( The forum has this code button to post code as is: image )

the code is not working

Good, try this, what the exercise says is that, in the text “see more photos of cats”, photos of cats is a link.
I hope I can help you.

<html>
<h2>CatPhotoApp</h2> 
<main>
<p>view more <a  href="http://freecodecamp.org">cat photos</a>.</p> 
<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>
</html>

i did this but it is not working

view more cat photos.

cat photos A cute orange cat lying on its back.

Good @Ftse
To be able to orient itself.
What doesn’t work for you?

It says
Your a element should be nested within your new p element. and i don’t know what that meant

What it means is that inside p tag you put in a tag a ( to nest) and close that p tag

Example
<!--The tag a is inside of tag p this is means to nest-->
<p> <a href="www.google.es">Link</a> </p>

Can you guys please put your code inside ``` ```

ohhhhhhhh it works tnx everyone

1 Like

Ow thanks dude . Hehe this forum help me instead!! :smile:

1 Like