HTML BASICS ll

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

```

Replace this line with your code.

<do not remove the three backticks above>

I keep getting an error It says font is 15.972…when font should be 16

Changing the colors!

Heading

A giant bear and a little duck were friends.

But the bear got hungry and ate the duck.

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

Hi you should format your code

Make sure your browser zoom is set to 100% (ctrl + 0 or cmd + 0 for mac should do this in most cases), otherwise look in your browser settings

Here is my code

<!DOCTYPE html>
<html>
    <head>
        <title>Putting it all together</title>
    </head>
    <body>
        <p style="font-size:20px;color:blue;font-family:Arial"> 
        A truly spectacular paragraph!</p>
    </body>
</html>

And it tell’s me “Oops your font-size is not set to 20px” I resized the browser window zoom,
by the way I’m using Firefox… it was working fine before… what gives?

It tells me font-size is undefined instead of 20px… i tried putting spaces
in between 20px and the : or rearranging the attributes to no avail…

a space between 20 and px is a bad idea, your code works fine (the one you posted without markup). I guess your browser is sending cached data, try a different browser