Pseudo selectors, Can not advance?


#1


tried firefox and chrome also reset my code nothing seemed to work?
<!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">Heading 3</h3>
	<p class="fancy">Paragragh 3</p>
	<p id="serious">Paragragh 4</p>
	<p>Paragragh 5</p>
	</body>
</html>


/*Add your CSS below!*/

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

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

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


#2

sorry guys you can ignore this, i'm dumb i forgot to put a : before the nth-child lol, it had taken me about 35 minutes to figure this out


#3

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