23. Pseudo Selectors


#1
  1. Pseudo Selectors

Oops, try again. Did you give your third paragraph a font-size of 26px? It looks like it's currently undefined.
What is wrong here?

<!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"> <p class="fancy"> Cyka blyat idi nahui </p> </h3>
		<p id="serious"> Russians are really nice people </p>
		<p> Naa just kidding </p>
	</body>
</html>

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

#2

You have your paragraph within the h3 tag, you should have them separate

<h3 class="fancy"> </h3>
<p class="fancy">  </p>

#3

Thank you :slightly_smiling: Didn't see that :slightly_smiling:


#4

You're welcome :green_heart:

Happy Learning :slightly_smiling:
Happy coding !

What inspired you to learn programming/coding?
Join the discussion