HTML Basics II: Font Color help


#1


Can anyone tell me what is wrong with my Code?
It says i need to make the h1 header green, but i did.

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


Oops, try again. Did you remember to make the h1 header green?


Replace this line with your code. 
<!DOCTYPE html>
<html>
	<head>
		<title>Changing the colors!</title>
	</head>
	<body>
		<h1><h2 style="color: green; font-size:16px">Big Heading</h1>
			<p><h2 style="color:violet">A giant bear and a little duck were friends.</p>
			<p><h2 style="color: red; font-size:10px">But the bear got hungry and ate the duck.</p>
	</body>
</html>


#2

why are you using <h2> tag ??? remove it
it should be like
<h1 style="color: green; font-size:16px">Big Heading</h1>
do the same for the rest


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.