23 need help with pseudo selector


#1

I'm having the same issue. I'm stuck in the validation but I cannot see anything wrong with my code and it behaves correctly. There is a bug in the validation routine for exercise 23 I'm afraid.... please help....

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

serious {

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

}

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

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

<body>
	<h3 class="fancy">
	    <p class="fancy">Hello</p>
	    <p id="serious">there</p>
	    <p>auto</p>		    
	</h3>

</body>

23 need help with psuedo selector
#2

first off, you shouldn't nest paragraphs inside headings (h3) and vice versa, it is bad practice.

It also mess up your count, body :nth-child(4) or p:nth-child(4) should work if you close your h3 before the paragraphs, do you understand nth-child?