But my text IS violet


#1


https://www.codecademy.com/en/courses/web-beginner-en-y2Yjd/1/3?curriculum_id=50579fb998b470000202dc8b


"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>
<html>
    <head>
        <title>Changing the colors!</title>
    </head>
    <body>
        <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>
    </body>
</html>


#2

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


#3

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!


#4

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