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="https://freecatphotoapp.com">
link to freecatphoto.com</a> to view more cat photos
 </p>~~~

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="http://freecatphotoapp.com" target="_blank">cat photos</a>

not

<a href="https://freecatphotoapp.com">
link to freecatphoto.com</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 freecatphoto.com to view more cat photos" where “link ot freecatphoto.com” is a link.

1 Like