To nest an anchor element within a paragraph

i have been able to complete the code as instructed on the page but the result of the test still says " Your a element should be nested within your new p element" .
here’s the code, please tell me where i’m getting it wrong.

    <a href="">
link to</a> to view more cat photos

It looks like you are missing the opening tag of the paragraph element.

i added the opening tag but the result is still the samefreecode

The challenge says

Now nest your existing a element within a new p element (just after the existing main element).

but that’s not what you did. The existing a element looks like:

<a href="" target="_blank">cat photos</a>


<a href="">
link to</a>

The challenge also says

The new paragraph should have text that says “View more cat photos”, where “cat photos” is a link, and the rest of the text is plain text.

But your paragraph has text that says " here is the link to view more cat photos link to to view more cat photos" where “link ot” is a link.

1 Like