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

0 points
Submitted by bellaluz
almost 9 years

13/23

    <!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>


    #intro {
    color: #b83c3a;
}

    .standout {
        color: #f7ac5f;
        font-family: Verdana;
    }

Answer 55c204af9113cbb3980006da

1 vote

Permalink

Index.html

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

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

points
over 8 years

Answer 558674c176b8fe4b8a000732

0 votes

Permalink

check here how to format your code. Your code is currently not visible. if you update your question please leave a comment so i get a notification. If you put your code i a comment, i am going to ask you to redo it, and use proper format.

If i can see your code (html and css) i can help.

points
Submitted by stetim94
almost 9 years

4 comments

bellaluz almost 9 years

Hi, thanks for your quick response, I’ve updated my question :)

stetim94 almost 9 years

nice shortcut, SCT (submission correctness test) doesn’t like it. You really need to add the standout class to the first h3 and paragraph. Your solution works, but not for the checking script

bellaluz almost 9 years

Thanks, I tried what you suggested and it worked. Very helpful!

stetim94 almost 9 years

I think it is creative. If you where working on your own projects it would have been fine. You’re welcome