This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by kingofpluto
almost 9 years

13/23 [resolved] I'm certain I have the correct code but it wont show on the preview.

 <!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
        <title>Result</title>
    </head>
    <body>
        <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>
        <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> 

css

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

Answer 556e0d56d3292f19200000d5

3 votes
Best answer

Permalink

Try writing the CSS like

 #intro { color: #B83C3A;
 }
 .standout {color: #F7AC5F; font-family: Verdana;
 }

you were using the colon-: as separator….

points
Submitted by Leon
almost 9 years

1 comments

kingofpluto almost 9 years

thank you