HTML Basics Font Color Lesson 9


#1

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

Why am I getting this error code? Oops, try again. It looks like your header's font-size is 32px instead of 16px.
Trying again to add the code to this post;






Big Heading


A giant bear and a little duck were friends.


But the bear got hungry and ate the duck.




#2

after a property (font-size) there should be a colon

for next time, use one of the two following options to make your code/indent is visible:

select your code and press ctrl + shift + c (or cmd + shift + c if you use a mac)

if this instructions are unclear, you can also insert 3 backticks before and after your code, like so:

```
<p>visible</p>
```

the backtick is located above the tab key on your keyboard


#3

stetim94
Thank you, thank you! I just did not see the error. You helped me very much!