HTML Basics ll Question on Font color


#1

Can anybody please tell me what I did wrong?
This is their example:
<h2 style="color: green; font-size:12px">

And this is what I wrote:

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

#2

You need to connect font and size with a dash font-size
Oh, and it is a good habit to put a semi-colon closing each style.

should be font-size:16px;

should be color:violet; Notice semi-colon at end

Note

I am just correcting the portions that are incorrect

should be font-size:10px; Notice font-size and semi-colon at end


#3

Oh thanks! I really appreciate your help.