14. The color will not show up


#1

Hello, I am confused about why my words are not rose-red and violet-blue.
This is my exact code copied and pasted:

HTML

<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>Result</title>
</head>
<body>
<h3>Roses are red.</h3>
<h2>Violets are blue!</h2>
</body>
</html>

CSS

h3{
#cc6666
}
h2{
#8A2be2
}


#3

Sorry, I was still working on it.


#4

Please format your code like this.


#5

Thank you!! I did not know that before.


#7

Sadly, I tried this and the results are the same.


#8

Just realized, you didn't specify the color attribute in your CSS. Example:

h3 {
    color: #cc6666;
}

#9

Omg! Thank you so much! This worked!!!:grinning:


#10

Welcome! :slightly_smiling: