This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by Floor
over 8 years

my code isn't working

does anybody know why my code doesn’t work help pleaze here’s what i used :

p:first-child{ font-family:cursive; { p:nth-child(2){ font-family:Tahoma; } p:nth-child(3){ color:#CC0000; } p:nth-child(4){ background-color:#00FF00; } p:nth-child(5){ font-size:22px; }

Answer 55e9459086f552db600003d8

2 votes

Permalink

your p:first-child closing curly bracket (}) is actually a opening curly bracket

points
Submitted by stetim94
over 8 years

Answer 560519a13e0ec8f82c000008

0 votes

Permalink

hey sorry thnx realy

points
Submitted by Floor
over 8 years

1 comments

stetim94 over 8 years

sorry for what? this is what the forum is for. I assume you made it work? very good