23/23 Pseudo Selectors Issue


#1

This code is constantly giving me the error: Oops, try again. Did you give your third paragraph a font-size of 26px? It looks like it's currently 16px.
HTML

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
	<h3 class="fancy">ok</h3>
	<p class="fancy">Very tired</p>
	<p id="serious">I am Very Tired</p>
	<p>This is stupid</p>
	</body>
</html>

CSS

.fancy {
    font-family: Cursive;
    color:violet;
}
#serious {
    font-family: Courier;
    color:#8C8C8C;
}
p:nthchild(4) {
    font-size: 26px;
}

#2

Please, ensure your browsers zoom is at default (100%)


#3

the hyphen in nth-child is missing in your case


#5

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