Lesson 13


#1


13. Putting it all together


I have input the code several times but I keep getting the error message "Oops, try again. Did you remember to add the intro ID to the h2 header?"


<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<h2>Introduction</h2>
		<h3>Classes and IDs in CSS</h3>
		<p>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>
		<h2 id="intro"></h2>
		<h3 class="standout"></h3>
		<p class="standout"></p>
	</body>
</html>

/*Add your CSS below!*/
#intro{
    color: #B83C3A
}
.standout{
    color: #F7AC5F;
    font-family: Verdana;
}


#2

you should have added the ids and classes to the existing heading and paragraph elements:

<h2>Introduction</h2>
<h3>Classes and IDs in CSS</h3>
<p>Classes and IDs are super easy in CSS. You're using them right now!</p>

not create new ones


#3

I tried inputting them and I have the same result.

	<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>

#4

please post a full updated version of your code


#5

<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<h2>Introduction</h2>
		<h3>Classes and IDs in CSS</h3>
		<p>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>
		<h2>Introduction</h2>
		<h3>Classes and IDs in CSS</h3>
		<p>Classes and IDs are super easy in CSS. You're using them right now!</p>
	</body>
</html>

/*Add your CSS below!*/
#intro{
    color: #B83C3A;
}
.standout{
    color: #F7AC5F;
    font-family: Verdana;
}

#7

this is the code inside the body at the start of the exercise:

<h2>Introduction</h2>
		<h3>Classes and IDs in CSS</h3>
		<p>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>

you should add the id and class to the existing headings and paragraphs without adding more heading and paragraph elements


#8

Ok I got It thank you.