13. Putting It all Together ( h3 error)


#1

It's lesson 13 in the CSS Selectors.

When I try to submit my code, it pops up "Oops, try again. Did you remember to add the standout class to the first h3 header?" I've looked over my code multiple times and I can't find whats wrong. Please help. Thanks

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

#2

you added an id standout to your first h3 heading, not a class standout


#3

<h2 id="intro">Introduction</h2>
		<DIV class="STANDOUT"> 
		<h3>Classes and IDs in CSS</h3>
		<p>Classes and IDs are super easy in CSS. You're using them right now!</p>
		    </DIV>

Still getting the h3 error message


#4

this shortcut won't work, not in the exercise. You should add the class to the h3 and p, remove the div


#5

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