23/23 selectors CSS arrrg

What am i doing wrong?? My fourth child doesn’t work

html

	<h3 class="fancy">Header!</h3>
	<p class="fancy">I am a paragraph!</p>
	<p id="serious">Why so serious?</p>
	<p>Fourth Child!</p>

css

                   body :nth-child(4){
                   font-size:26px;
                   }

Hey!

I think the problem is in your CSS: body :nth-child(4) should be body:nth-child(4) , without a gap between body and :nth=child(4), that should fix it. Hope that helps!

1 Like

thank you so freaking much!!!

1 Like