CSS Selectors:ID, please!


#1

CSS
.serious {
font-family:Courier;color:CC0000;
}
HTML
body>
div id="serious">
div id="serious">
/body>

Error code:Oops, try again. Did you set the font-family of the #serious ID to Courier?

Having trouble figuring out what I didn't do...


#2

Just what the error message says. Now you have ".serious", it should be "#serious" the "." is to select a div class, the "#" is to select a div id.

Hope this helps.


#3

A post was split to a new topic: Did you give the #serious ID a font-family of Courier?


#4