Id "#" not working


#1

this is my html:

<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<p id="serious"></p>
		<p>IDs are great for when you have exactly one element that should receive a certain kind of styling</p>
		
	</body>
</html>

This is the css file:

#serious {
    color:#cc0000;
    font-family:Courier;
}

why is it not working ?


#2

You have the id serious on a paragraph that has no text,

Remove the first paragraph and add it to the paragraph that has text


#3

ok got it now. Thanks


#4