23. pseudo selector


#1

I have the same problem , I check my code and I didn't see anything wrong.

<!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">Oi!<h3>
	    <p class="fancy">como esta?</p>
	    <p id="serious">Tudo bem , obg.E vc ?</p>
	    <p> Estou bem ... indo ....</p>
	   
	    
		
	</body>
</html>

stylesheet.css

/*Add your CSS below!*/


.fancy{


    font-family:cursive;


    color:violet;


}


#serious{


    font-family:Courier;


    color:#8C8C8C;


}


body :nth-child(4) {


    font-size: 26px;


}

Stuck and I can't go forward! I've done exactly what the hint says. However, it works if I use body: nth-child(3), but it will not except that
#2

your h3 closing tag is missing the slash (/), causing problems in the count


#3

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