23 psuedo selector

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


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


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

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

body :nth-child(3) {

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.

1 Like

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

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