"Did you remember to add the intro ID to the h2 header?"


What might be wrong with my code? It says that:“Oops, try again. Did you remember to add the intro ID to the h2 header?”

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

Why did you create:

<h2 id="intro"></h2>
<h3 class="standout"></h3>

I suggest to remove them, class is an attribute, which can be added to opening tags. Add them to you already existing h2 and h3 opening tags

1 Like

I am not sure how to do it.

remove what i said, then add the class intro to the h2 opening tag of this line:


and class standout to the h3 opening tag on the line below

1 Like