# freeCodeCamp Challenge Guide: Nest an Anchor Element within a Paragraph

freeCodeCamp Challenge Guide: Nest an Anchor Element within a Paragraph
0

#1

Nesting is simple, just add one element inside another:

``````<p> click here for <a href="http://www.catphotoapp.com">cat photos</a></p>
``````

How do I pass this exercise?
#2

I can't seem to move beyond this point, even though I have followed the steps as instructed.

Any help would be greatly appreciated!

Nest an Anchor Element within a Paragraph1
#3

@robt90 It looks you put a space at the beginning of you `p` element. Try without!

#4

Yep, tried that out and it works perfectly! Thanks for the help

#6
.red-text { color: red; }

h2 {
font-family: Lobster, Monospace;
}

p {
font-size: 16px;
font-family: Monospace;
}

.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
}

.smaller-image {
width: 100px;
}

## CatPhotoApp

View more cat photos

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

#7

I canâ€™t seem to get past this task. My code seems fine:

View more cat photos

I still canâ€™t run it. Any help would be appreciated. Thanks!

#8

Hi all - I cannot figure out what I am doing wrong hereâ€¦help!

#9

Hey Everyone,

Iâ€™m really struggling here too, can anyone help?

#11

I just figured it out after a frustrating 30min,
the code was right it was just in the wrong place. Reset the code and then put your begining p element with the â€śView moreâ€ť above the anchored element then enclose it below.

so:
normal beginning p element "View more"
anchored element that is there already
enclose the p element

sorry if I confused you. hope it helps

#12

Could you possibly post your code? I tried a few different ways and no luck. Any help is appreciated

#13

#14

the same happened to me, I had the code right, but did not let me advance, the only thing I did was to go out and re-enter

#15

This does not work for me

#16

#17

@Muhu6 It may have timed out like @gaboleo91 said try to log out, Clear the code, then try again. I just cleared mine and itâ€™s posted below step by step:

#18

#19

#20

I had the same issue where it was coded right but not taking it. It was fixed after i reset the code and cleared my cache. Worked the first time after doing that.

#21

Thanks. That worked after trying for long hours to figure out what went wrong.

#22