Need help with 9 font color


why isn't mine working

<!DOCTYPE html>
		<title>Changing the colors!</title>
		<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"> the bear got hungry and ate the duck.</p>

Font coloring, No.9
Font coloring, No.9

after a style property (color, font-size) there should be a colon, you are missing some colons

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:


the backtick is located above the tab key on your keyboard


I splitted the topic, i moved your reply. He did post his code, but didn't use format