This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

346 points
3efbccd6cd9e0cf5b066c778fb8d61df?s=140&d=retro
Submitted by
dingchiroptera
over 3 years ago

why won't my css code work in 17/26?

/Add your CSS below!/
h1{
font-family:Times,Serif;
}
h2{
font-family:Veranda,Sans-Serif;
}
h3{
font-family:Vivaldi,Cursive;
}

what's wrong with my code? It keeps telling me that I haven't added a comma, and I have, it won't let me get past this lesson even though I've done it right. Very frustrated !


6 votes

permalink

Hi,I got it! you should check the spells and also ,write your code underneath the comment.you can try this :

/Add your CSS below!/
h1 {
font-family: Times, serif;

}

h2 {
font-family: Verdana, sans-serif;
}

h3 {
font-family: Vivaldi, cursive;
}

427 points
577139b11026d938c700000e_456774079
Submitted by
Fatemeh
over 3 years ago


0 votes

permalink

verdana not veranda

2822 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
over 3 years ago

2 Comments

577139b11026d938c700000e_456774079 Fatemeh over 3 years ago

I have the same prob,and I checked all the spells,they're correct but the exercise won't pass.

593d545c83696644420003b7_64554016 stetim94 over 3 years ago

code? i think this one and font-size are the most tricky exercises to pass. In programs they work fine, here on codecademy it is not so easy


0 votes

permalink

The coding should be the stylesheet.css and not the main html file.

806 points
Picture
Submitted by
Lance Jordan
over 3 years ago


0 votes

permalink

I copied and pasted exactly, but it still didn't take. Failure... I'm just going to skip it.

141 points
5317086a9c4e9d0700001cc4_360762880
Submitted by
Wonderb0y
about 3 years ago