Font size error


#1

Hi. I'm having trouble with a font size

Here's my code:

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

It's telling me my h1 is 32px and not 16
I have no minimum font size in my browser and have tried cmd-0

Thanks


#2

you are missing a colon after font-size in both your heading (h1) and your second paragraph


#3

problem solved. Thank you


#4

Hey stetim94! I was just about to say that!