Nesting element p and a

I am on step 12 and so far this is what I have.

CatPhotoApp

Cat Photos

Click here to view more cat photos.

And I am confused with the text message saying " The p element should show the same text in the browser, but the words cat photos should now be a link. Make sure to remove the a element with the text cat photos on the line below the p element."

We need to be able to see your actual HTML so we can see what you have tried. To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.

Can you explain a little more about what exactly is confusing you?

I’m sure I’m definitely doing something wrong but it says
" Hint: Your code should only contain one anchor (a) element. Remove any extra anchor elements."

It looks like you are missing the closing a tag for the link.

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