CSS Overview


#1

In the stylesheet.css tab, add Times as an option before serif, Verdana as an option before sans-serif, and Vivaldi as an option before cursive.

Now this is my code:

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

When I try and submit the code, it comes up with this error message:

"Oops, try again. Did you remember to put Verdana and a comma between font-family and sans-serif?"

Can someone please help me,I am lost


#2

I believe what they are asking is to make just one back up for each heading.
Times, Serif; for h1
Verdana, Sans-serif; for h2
Vivaldi, Cursive: for h3

And don't forget your capital letters on the Font names :smile:


#3

when i start this exercise, this is the code i start with:

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

now, you should add Times as an option before serif, Verdana as an option before sans-serif, and Vivaldi, i don't know why you use a p as css selector, and add at all the values to one css selector, rather then all the different headings


#4

I never started with the code that you started with, my css sheet was empty.

But I figured it out, thanks for your guys help :Dsmile:


#5

do you mind telling me which one are you doing i can't help if you don't tell me dude


#6

They worked it out already. and this is 20 days old. :S There are more than enough answers in this thread, try not to revive dead/old threads :stuck_out_tongue:


#7

true true i feel stupid now