Please help. I’m stuck.
the html
I disagree with @jibblyj, the space between body
and :nth-child(4)
is need to select the 4th element inside body, if you remove the space, nth-child will check if the 4th element is body (it is not, it is a paragraph)
The error is caused by the fact that your fancy paragraph has a uppercase p
, this should be lowercase (html is case-sensitive, the uppercase opening tag doesn’t match lowercase closing tag, messing up the count)
1 Like
Thank you!! how stupid of me