Pseudo Selectors lesson


#1

I am wondering why this code isn't accepted.

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

#serious {
    font-family: Courier;
    color: #8C8C8C;
}
body :nth-child(4) {
    font-size: 26px;
}

<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<h3 class="fancy">
		    <p>Chodikans</p>
		</h3>
		<p id="serious"> Suh deh </p>
		<p> third child </p>
	</body>
</html>

#2

nesting paragraphs inside headings is a bad idea (and bad practice) the paragraph should be after the heading


#3