CSS: An Overview A font of knowledge I NEED HELP CHANGING THE HEADERS

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

<Oops, try again. Did you remember to set your

header font-family to serif?> ``` Result

I'm going to be a serif font when I grow up!

I'm going to be a sans-serif font.

I'm going to be in cursive!


<do not remove the three backticks above>

you misspelled serif? and you should use the external stylesheet, not the style attribute

Ok, whats wrong now?


*/ p {

       <h1 style="family-font;serif:"></h1>
       <h2 style="family-font;sans-serif:"></h2>
       <h3> style="family-font;cursive:"></h3>

}/*

Oops, try again. Did you remember to set your h1 header font-family to serif?

Whats wrong??? …

*/ p {
h1{ font-family:serif
}

     h2{

font-family:sans-serif
}

}/*

don’t use the style attribute. Please post an updated version of your code (html and css) using markup:

https://discuss.codecademy.com/t/how-do-i-format-code-in-my-posts/51139

and the error message

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.