<!DOCTYPE html> <html> <head> <title>Changing the colors!</title> </head> <body> <h2 style="color: green; font-size 16 px">Big Heading</h2> <p style= "color: violet">A giant bear and a little duck were friends.</p> <p style= "color: red; font-size 10 px">But the bear got hungry and ate the duck.</p> </body> </html>
There are two problems, after a problem (font-size) there should be a colon, it is missing.
And 16px (same for 10) is one argument, can't be a space between
Thanks! That did it.