23. Pseudo Selectors


#1

it does not want to take

~~~~~

/*Add your CSS below!*/
.fancy{
    font-family:cursive;
    color:violet;
    }
    #serious{
        font-family:Courier;
        color:#8c8c8c
         font-size:26px;
        }
        body:nth-child(4){
            font-size:26px;
            }

~~~~~


#2

Tells me size is still 16px


#4

you need a space between body and :nth-child(4) to select the 4th element inside body, otherwise the 4th elements has to be a body, it is not, it is a paragraph.

This only works if your html code is correct


#5

A post was split to a new topic: 23. pseudo selectors


#6

A post was split to a new topic: 23. pseudo selectors


#7