Did you remember to make your h1 font-family serif? yes i did, help!


#1

I'm stuck on this question & I don't really know what I'm doing wrong here...Can anyone help?
/*Add your CSS below!*/

H1 {
font-family: Serif;
}
H2 {
font-family: Sans-Serif;
}
H3 {
font-family: Cursive;
}


#2

Can I see your HTML code please?


#3

Hi Alexandra,

Selectors are case sensitive. Since your HTML tags are lowercase (as in <h1>; at least they should be lowercase), you'll need to change your selectors accordingly. Also, you don't capitalize system fonts:

serif
sans-serif
cursive
monospace

I think there's one more, but I can't remember it right off.

I hope this helps, please let us know if you're still having issues :)


@jibblyj I don't think HTML matters here :)


Happy Thanksgiving, if you're in the US :wink:


#4

I know, but I thought they may have done the tags in caps, gotta be sure!


#5

Having the same problem.

/*Add your CSS below!*/
h1 {font-family:Serif}
h2 {font-family:Sans-serif}
h3 {font-family:Cursive}


#6

Put a semicolon at the end of each property value and remove capitalization like @zystvan said:

/*Add your CSS below!*/
h1 {
    font-family: serif;
}
h2 {
    font-family: sans-serif;
}
h3 {
    font-family: cursive;
}

Also, next time you ask a question, create a new thread for it, instead of using another, thanks.


#7

Sorted it, thanks for the help and will be sure to create a new thread next time. I'm new here and to coding sorry. :+1: