HTML Basics II - Exercise 8 - Header font error


#1

There's a problem with this exercise. Although my code is correst setting the heading to 16px, the system error's and says it's set to 32px. I've redone the exercise twice but can't get it to recognize the correct setting. Suggestions?

Code is below:

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

Error is:
"Oops, try again. It looks like your header's font-size is 32px instead of 16px."


#2

yea, post your code, because something is off. the default font-size of a h1 is 32px


#3

Edited my original post above to include the code and error message


#4

multiply style elements are separated by a semi-colon, the style attribute ends ad the second quotation mark. here is an example of multiply style elements;

<p style="font-weight: bold; color: red;">

as you can see, i only seperated the style elements by ;, no need to insert additional "


#5

Thanks, I made the same error in the second paragraph. Appreciate the help.