23/23 psuedo selector issue


#1


Here is my error message
"Oops, try again. Did you give your third paragraph a font-size of 26px? It looks like it's currently undefined." What is wrong with my code?


<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<h3 class="fancy"> Go Fluff Yourself</h>
		<p class="fancy"> You know what to do. Do it.... DO IT NOW!!!</p>
		<p id="serious"> Fluff your pillow NOW!!!</p>
		<p> I mean it!!!!!! Do it or I will!!!!</p>
	</body>
	
</html>

And here is my style sheet

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


#2

Add a space between body and nth-child(4).


#3

Did that and it didn't fix my issue


#4

Remove the space between : and nth-child.

should look like this:

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

#5

Same message :frowning:


#6

Your closing h3 tag is wrong. Should be </h3> instead of </h>.


#7

Thanks! That fixed it!


#8