My code is working but the web site won't let me move on


pseudo selectors

My code IS behaving correctly but the website won't let me move on. It wants me to make the 3rd paragraph 26px and it is. Why won't this work?

<!DOCTYPE html>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<h3 class="fancy"> Header <h3>
		<p class="fancy"> Paragraph </p>
		<p id="serious"> Serious Paragraph </p>
		<p> Third Paragraph </p>

/*Add your CSS below!*/
    font-family: Cursive;
    color: violet;
    font-family: Courier;
    color: #8C8C8C;
    font-size: 26px;


This will be the second paragraph. The way this selector reads is,

any p-node that is the third child of its parent element

The third paragraph above is the fourth child of its parent.

In order to write it with a 3 we need the :nth-of-type() pseudo-class.



@mtf is right, but your h3 closing tag is also missing the slash, which means it is not a closing tag. This changes the count for nth-child. Add the slash to the h3 closing tag