13. Putting it all together - Error!


ERROR MSG: Oops, try again. Did you remember to add the intro ID to the h2 header?
Do not understand why this code is not working!

<!DOCTYPE html>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
	<div id="intro">
	<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>
		<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.


#intro {
.standout {


You put it on the div you need to put it on the h2 header:

<h2 id="intro">H2 Header</h2>


You need to remove the div's you typed above the h2, p and h3 and type them inside the h2/h3/p tag it self like so:

<h2 id="intro">h2 Header</h2>

<h3 class="standout">h3 Header</h3>

<p class="standout">Paragraph</p>


Thank you very much. Will try that :slight_smile:


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