CSS Selectors: 22. ID Selectors


#1

HTML

!DOCTYPE html>
html>
head>
link type="text/css" rel="stylesheet" href="stylesheet.css"/>
title>Result
/head>
body>
h3 class="fancy">Header
p class="fancy">Paragraph


p class="serious">serious!
/body>
/html>
CSS
.fancy {
font-family:cursive;color:violet;
}
.serious {
font-family:Courier;color:#8C8C8C;
}
Error code:
Oops, try again. Did you give your new paragraph an ID of 'serious'?

I did give it the ID of serious.


#2

you gave it a class serious, not an id serious


#3

Thanks for the help!!


#8

This has already been solved... I don't like all of the notifications popping up on my screen so please quit responding to this.