13. The display box shows the colours but it still comes up with an error?


#1


https://www.codecademy.com/courses/web-beginner-en-WF0CF/2/4?curriculum_id=50579fb998b470000202dc8b

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>
	<div id="intro">
		<h2>Introduction</h2> </div>
		<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>
		<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

nice try, the exercise wants you to add the id and class to the heading opening tags, nice try of a shortcut, but the exercise won't approve it


#3

You gotta move your ID. Right now it's inside your


< div id= "intro">

You gotta move your ID into the h2, like this:

< h2 id= "intro">

Same thing with your class. Move it to the h3 header.


#4

ohh i see, i didn't see it say i had to add the id to the opening tags


#5

it did say:
Give the h2 header an ID of "intro"
you decide to wrap it in a div, i would see this in the instructions, i would add it the style attribute to the <h2>


#6

I misinterpreted that as making a div for some reason