23.Pseudo selectors


#1

This exercise got me.I have no idea where i made a mistake…
I've checked everything a couple of times, but didn't find anything.

Here goes my HTML code

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
<h3 class="fancy"> headline </h3>

    <p class="fancy">Fancy paragraph</p>

        <p id="serious"> Serious stuff</p>

            <p>3d paragraph</p>

	</body>
</html>

And CSS

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

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

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

#2

Hi you din't closed that selector

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

it's missing the }


#3

It's worked!!
Thank you a lot man!


#4

2 posts were split to a new topic: 23. There is an eror which says to make sure to put some text between the tags of the third paragraph