23 pseudo selector

dude look this is my code :

.fancy {
color:violet;
font-family:cursive;
}

#serious {
font-family:Courier;
color:#8c8c8c;
}
p:nth-child(3) {
font-size:26px;
}

and it did work but when i do it as u said like this :

.fancy {
color:violet;
font-family:cursive;
}

#serious {
font-family:Courier;
color:#8c8c8c;
}
p:nth-child(4) {
font-size:26px;
}
i press save it says (Oops, try again. Did you give your third paragraph a font-size of 26px? It looks like it’s currently undefined.) i hope answer

Can i see your html code? The first code shouldn’t have passed

@abdbata, headings and paragraphs are both block level elements to designed to hold inline element, not other block level elements. Put the paragraph after the heading, and make sure closing tag contains a lowercase p and a >