Did you remember to set #intro's color to #B83C3A?"


#1

Hi,
I have similar problem and I couldnt't find where I made mistake. My error tells "Oops, try again. Did you remember to set #intro's color to #B83C3A?". Thank you very much in advanced for your help.

My html code:

`<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<h2 id="intro">Introduction</h2>
		<h3 class="standout">Classes and IDs in CSS</h3>
		<p class ="standout">Classes and IDs are super easy in CSS. You're using them right now!</p>
		<h3>Regular HTML Selectors</h3>
		<p>If you don't bother with a class or ID, an HTML element just gets
		   the regular CSS styling for that element—or the default styling if you
		   don't specify any particular styling on the stylesheet.
		</p>
	</body>
</html>

And my CSS code:

#intro {
    color= #B83C3A
}

.standout {
    color: #F7AC5F;
    font-family: Verdana;
}

`


Lesson 13, add an ID to <h2> error
#2

In your CSS code, it looks like you forgot to add a semicolon after the #intro color #B83C3A. Hopefully that fixes it!


#3

@monika.an

Try it withh

#intro {
    color: #B83C3A;
}

#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.