Header


#1

It won't let me submit the code because it said that the header wasn't green but it was green! Argh this website is so damn frustrating!


#2

Try this:

<!DOCTYPE html>
<html>
    <head>
        <title>Changing the colors!</title>
    </head>
    <body>
        <h1 style="color:green; font-size:16px">Big Heading</h1>
            <p style="color: violet">A giant bear and a little duck were friends.</p>
            <p style="color:red; font-size:10px">But the bear got hungry and ate the duck.</p>
    </body>
</html>

Sorry, not too great at explaining things :grin:


#3

nadia indeed provided the right code, but that doesn't explain why your code is wrong.

Anyway, you start with this:

<h1>Big Heading</h1>
<p>A giant bear and a little duck were friends.</p>
<p>But the bear got hungry and ate the duck.</p>

now, you are suppose to add the style attribute the the existing opening tags in this exercise (style is an attribute we can add to many html elements, including <h1> and <p>). don't create extra opening tags