23 psuedo selector


#1

I'm having the same issue, here is my code:

HTML:

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<h3 class="fancy"> <p class="fancy">A Sentence.</p> </h3>
		<p id="serious">Serious Stuff.</p>
		
		<p>This sentence is pretty big.</p>
		
	</body>
</html>

CSS:

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

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

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

Review/23 Pseudo selectors isn't working
#2

Nesting headings inside paragraphs (and vice versa) is bad practice. Put the paragraph below the heading, and select the 4th element with nth-child. Then you should be good to go

Please read this post about markdown so your code/indent will show.


Pseudo selector
#3

I put four paragraphs and passed is that bad?:confounded:


#4

Yes, that is bad. You should have closed the heading before your paragraphs, then your third paragraph would have been your 4th element