My header is green. why does it not recognize that?!


#1


#2

What am I doing wrong?


#3

Rewrite your code like this <h1 style = "color: green; font-size: 16px">

And also don't write <p><p style = "...">, the correct way should be <p style = "...">, the same goes for any html elements.


#4

style is an attribute which you can add to a opening tag, so the moment you have a paragraph:

<p>i am a paragraph</p>

you can just add the style attribute to the opening tag:

<p style="">i am a paragraph</p>

in the same fashion you can add the style attribute to a heading (h1, h2 .. h6) opening tag. No need to create additional opening tags


#5

I saw a random h2 somewhere next to the h1


#6

You put this code remember to review{

..........


}
whats the h2 for

#7

quick heads up! I was stuck on this for ages because it would not pick up my colours! you must spell colour like this! COLOR you have to spell it the american way!! ;D


#8

ur

header is already green see the output but what do you want i dont understand