Backup Values


#1



https://www.codecademy.com/en/courses/web-beginner-en-TlhFi/2/5?curriculum_id=50579fb998b470000202dc8b#


This lesson is not explained well at ALL. There is really no "walk through" and then I'm instructed to perform the CSS on the stylesheet. And big surprise, I'm getting an error. "Did you remember to put Times and a comma between font-family and serif? " And yeah, its there. Help? Thanks.


p {
    font-family,: Times, serif, Verdana, sans-serif, Vivaldi, cursive;
}


#2

Hi you should remove the ,

,

after font-family


#3

this is the code the exercise start with:

h1  {
        font-family : serif;
    }
h2  {
        font-family : Sans-serif;
    }
h3  { 
        font-family : cursive;
    }

how is it not obvious you should one back up value for each font-family property in the different css selectors?


#4

Actually, no. This is NOT the code the exercise starts with. My stylesheet is blank and the instructions are very unclear. What would be "obvious" is pretty subjective if you're new to the project as opposed to being a moderator... Nonetheless, thanks :slight_smile:


#5

Thanks. That didn't really make sense to me... but stetim94 helped. This exercise had a blank stylesheet and the instructions were very unclear. Had they been clearer, or at least one walk through of "h1 {
font-family : serif;
}
h2 {
font-family : Sans-serif;
}
h3 {
font-family : cursive;
}"

This would have made total sense to me. It does now. but... Yeah, very unclear.


Help me
#6

This should load by default (for someone unknown reason it didn't), it also explains why you found the instructions very vague. I shouldn't have said that, my apologizes.