23. Psuedo Selectors undefined text


#1


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


My code is generating an error message stating "Did you give your third paragraph a font-size of 26px? It looks like it's currently undefined.", despite having followed the instructions to a T. Any suggestions on what to do? Code is as follows:


Replace this line with your code. 
<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<!--Add your HTML below!-->
		<h3 class="fancy"></h>
		<p class = "fancy">code code code</p>
		<p id = "serious"> Shwohbop</p>
		<p> For goodness sake </p>
	</body>
</html>


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


#2

<h3 class="fancy"></h>

you didn't close the <h3> tag


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.