Wrong syntax


In the CSS tab I'm supposed to give the fourth paragraph a font size of 26 px. Does this look right?

p. nth-child(4) {
font-size: 26px;


You have two options, you can either select the 4th element inside the body:

body :nth-child(4)

or you can select the 4th element, and it is a paragraph, apply the styling:


A better way to explain this would be that p:first-childdoesn't do anything, since the first element is a h3, not a paragraph. This code only works if your html code is correct, so if the problem persist, post full html + css code