HTML/CSS pseudo selectors


#1

Hi,

I'm stuck with exercise 23. Pseudo selectors. I cannot get past this exercise regarding putting a text in between my "p" tags. I have a text in between them but for some reason I'm still getting the error. Below is the HTML code and the error message. I have tried using a different browser, reset the code, checked my CSS code and tried using p:nth-child(3), p:nth-child(4), and body :nth-child and nothing seems to work.

I need a second pair of eyes to check my work. Thanks a lot.

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<h3 class="fancy"/h3>
		<p class="fancy"/p>
		<p id="serious"/p>
		<p>sample paragraph</p>
	</body>
</html>


Oops, try again. Make sure you put some text between the <p></p> tags of your third paragraph!

#2

You're forgetting to close your "h3" and "p" tags!


#3

Thanks for your quick reply. Got the problem solved with your help.


#4