23 need help with pseudo selector

.fancy{
    font-family: Cursive;
    color: violet;
    }
#serious{
    font-family: Courier;
    color:#8C8C8C;
}
body :nth-child(4); {
    font-size: 26px;
    }

Hello, sorry to re-post the same problem issue, but I can’t see what is wrong with my code! Thanks in advance!

You have a semi-colon after :nth-child(4) which shouldn’t be there, if after that you still have a problem, post your html code as well

1 Like

A post was split to a new topic: 23 need help with psuedo selector