Lesson 9 still need help


#1

Continuing the discussion from Help with Lesson 9: Font color:



Doesn't let me pass when i clearly did it right


Replace this line with your code. 
			<p><h2 style="color:red ;font-size:10px">But the bear got hungry and ate the duck.</p>


#2

Your closing semi-colon on color property is faulty.

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

Hope this helps!? :smile:


#3

The problem is that your are nesting the h2 inside the p and you didn't close the h2 tag


#4

you walked right into the trap which the exercise sets for you. Style is an attribute you can add to many html elements (paragraph, headings and so on)

You should have added the style attribute to the paragraph opening tag, the h2 in the instructions was just to test you