But my text IS violet



"Oops, try again. Did you remember to make the first paragraph violet?"
I'm getting this error but my code already has it violet and it is that color in the preview. I also tried using hex codes for the color instead. I've tried adding font size to it, adding space above and below, space before my line of text, and I'm going to try clearing the code and starting over now. Any suggestions on what's causing it?

<!DOCTYPE html>
        <title>Changing the colors!</title>
        <h 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>


in your h1 heading opening tag the 1 is missing, and after font-size there should be a colon.


Awesome! I was focusing on the paragraph the error message was pointing out and didn't even notice that mistake! That fixed it. Thank you!


If something wrong, also look back. Sometimes something earlier tricks an error later.