23. pseudo selector


#1

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<!--Add your HTML below!-->
		<h3 class="fancy">Coding is AWSOME!!</h3>
		<p class="fancy">I love coding!</p>
		<p id="serious">code code code</p>
		<p>More Coding!!</p>
	</body>
</html>

CSS

/*Add your CSS below!*/
.fancy {
    font-family: cursive;
    color: violet;
    }
#serious {
    font-family: Courier;
    color: #8C8C8C;
    }
body :nth-chile(4) {
    font-size: 26px;
    }

Submit Code

Reset Code

The error message I got was this: Oops, try again. Did you give your third paragraph a font-size of 26px? It looks like it's currently 16px.
I don't know where goes wrong?
Please help me.


23.Pseudo selectors. whats wrong?
#2

you mispelled child


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.