CSS pseudo selectors


#1

Hello, I've completed this exercise but I'm still getting an error. I was wondering if someone could help? Thanks!


Link: https://www.codecademy.com/courses/web-beginner-en-WF0CF/4/5?curriculum_id=50579fb998b470000202dc8b#


I've completed the task but it thinks I have set it as "undefined".
Error: "Oops, try again. Did you give your third paragraph a font-size of 26px? It looks like it's currently undefined. "
HTML:

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<h3 class="fancy">This is a header3 <h3>
		<p class="fancy">This is a paragraph! </p>
		<p id="serious">My! What a serious paragraph.</p>
	    <p>3rd paragraph</p>
	</body>
</html>
CSS:
.fancy {
font-family: cursive;
color: violet;
}
#serious {
font-family: Courier;
color: #8C8C8C;

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


#2

your h3 closing tag is missing the forward slash, messing up the count


#4

Thanks a lot.
Hadn't realised it was such a small mistake.
Sorry for wasting your time


#5

small mistakes are the hardest to find, no time wasted :wink:


#6