23. pseudo selector


#1

I'm having issues with my code for this lesson as well and would appreciate any help I could get!

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
    	<h3 class="fancy">Header</h>
    	    <p class="fancy">Fancy paragraph</p>
    	    <p id="serious">Serious paragraph</p>
    	    <p>What is wrong with my code?!</p>	
	</body>
</html>




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

#serious {
    font-family: Courier;
    color: #8c8c8c;
}

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

Pseudo selectors, Lesson 23/23
#2

take a look at your h3 closing tag, it looks a bit off


#3

Thanks! That was driving me crazy!


#4