Font Size Doesn't Change in "Font Color" Lesson


#1


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


I seem to be typing in the correct code for the font size style attribute in the second paragraph, but it does not seem to be translating onto the webpage.


<!DOCTYPE html>
<html>
	<head>
		<title>Changing the colors!</title>
	</head>
	<body>
		<h2 style="color:green";"font-size:16px">Big Heading</h2>
			<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

the style attribute runs from the first till the second quotation mark. If you want multiply property value pairs, they all have to be within two quotation marks seperated by semi-colons:

style="property1: value1; property2: value2"

#3

Oh thank you so much. I would not have figured that out.


#4