9. Another Font colour problem


#1

My font size did not change and is not working. Can someone recheck this for me?

<!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-style: 10px"> But the bear got hungry and ate the duck.</p>
	</body>
</html>


#2

you use the wrong property (font-style to change the font-size doesn't make much sense)


#3

Oh! I didnt realised that. Thank you ver much :smiley: Sorry


#4