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

CSS: An Overview Forum

View Course » View Exercise

133 points
Picture
Submitted by
NageswarReddy
over 4 years ago

h1 { font-family: Times, Serif; } h2 { font-family: Verdana, Sans-serif; } h3 { font-family: Vivaldi, cursive; }

i wrote the code like this ..but its showing error?
please let me know any errors are their


-8 votes

Best answer

permalink

am using mozilla

133 points
Picture
Submitted by
NageswarReddy
over 4 years ago

2 Comments

D425cd7538559ac94b6200badb8c7db4?s=140&d=retro kawaiipoo over 4 years ago

your wrong

C10f35d929d73ae6c323918aa0f2b5b4?s=140&d=retro kayts2013 almost 4 years ago

elector {
property: bestValue, nextBestValue
}


6 votes

permalink

I passed with this code(Using Google Chrome Latest version):

 h1 {
    font-family: Times, serif;    
}

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

h3 {
    font-family: Vivaldi, cursive;
}

But the ''Vivaldi'' and ''cursive'' font won't become orange as all the others?

1033 points
514f4fbb1555179d3d0016cb_838221483
Submitted by
NotGoingToTell
over 4 years ago

7 Comments

Eecd5fd0ed871fc98060a5a1d162bb92?s=140&d=retro chaman singh over 4 years ago

thanx for your solution even i was suffering from the same problem

514f4fbb1555179d3d0016cb_838221483 NotGoingToTell over 4 years ago

No Problem.

D425cd7538559ac94b6200badb8c7db4?s=140&d=retro kawaiipoo over 4 years ago

JESUS LOVES YOU <3

Picture Ben Hong almost 4 years ago

THANK YOU SOOOOOOOO MUCH no seriosly

0c15abaea72b095320e60fca8ad35f1a?s=140&d=retro Ric Andrews almost 4 years ago

THANK YOU SOOOOOOOO MUCH no seriosly.It really helps

7eeb2df9799d103a05983e82764592e8?s=140&d=retro --lorenzo-- about 3 years ago

Thanks you man!\

7eeb2df9799d103a05983e82764592e8?s=140&d=retro --lorenzo-- about 3 years ago

thank''


2 votes

permalink

Solved it! (Using IE; as it did not work in Opera.)

Had to type it in the HTML-code:

<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>Result
</head>
<body>
<h1 style="font-family: serif;">I'm going to be a serif font when I grow up!</h1>
<h2 style="font-family: sans-serif;">I'm going to be a sans-serif font.
<h3 style="font-family: cursive;">I'm going to be in cursive!
</body>
</html>

477 points
51658a25f12bead2050006d0_9230485
Submitted by
Olav Jevne
over 4 years ago

2 Comments

Picture Ilya Blay over 4 years ago

I'm using Chrome and this solved it for me. Must have been an error.

D425cd7538559ac94b6200badb8c7db4?s=140&d=retro kawaiipoo over 4 years ago

same thing with me


1 vote

permalink

Yeah, I'm getting the same thing. It's broken and there's no bug report button.

Just skip it.

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

Is what it's telling you to code, but it's rejecting it on the basis that Serif is not present.

203 points
571c1a549e9ba7618ff6e748265455fb?s=140&d=retro
Submitted by
GameBoyBunny
over 4 years ago

2 Comments

A02b8a1fa276189fa77174d4ef7c1ce6?s=140&d=retro Stanislav over 4 years ago

+1

D425cd7538559ac94b6200badb8c7db4?s=140&d=retro kawaiipoo over 4 years ago

I HAVE ONE DAY TO LIVE ):


0 votes

permalink

I did not get an error with this. In other courses, I've seen that on some browsers people are getting problems. What browser are you using to take the course?

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

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

h3 {
    font-family: Vivaldi, cursive;
}

609 points
0beec889fe9f2b5dff3d001c7b2b8891?s=140&d=retro
Submitted by
Scott Korin
over 4 years ago

3 Comments

D43ef194aa3ce7c62e53962687c4dad5?s=140&d=retro Raven26 over 4 years ago

I ran into the same problem, I use the Opera browser version 12.15

D425cd7538559ac94b6200badb8c7db4?s=140&d=retro kawaiipoo over 4 years ago

poque la salve es todo la vida con me mama y papa

577139b11026d938c700000e_456774079 Fatemeh over 3 years ago

thanks Scott! You helped me solve my problem!


0 votes

permalink

It didn't work for me in Opera and Internet Explorer. I don't know what the reason is, but i have to say I am a little sad because I am not a chrome user .

495 points
Picture
Submitted by
Jonathan Shamberg
over 4 years ago


0 votes

permalink

I have also same problem.I am using google chrome.help me out.

197 points
A67b3d30ae6fd269429118aadb3fea3d?s=140&d=retro
Submitted by
Sarmistha Mahapatra
about 4 years ago

1 Comment

577139b11026d938c700000e_456774079 Fatemeh over 3 years ago

I think the problem was this:you should write your code under the comment (/Add your css below/).


-1 votes

permalink

I also came across the same problem! It keeps saying that you forgot to apply the property "serif" for your h 1, although I typed in exactly what it asks for(the code GameBoyBunny posted).

I'm using the latest version of Opera too, I'm not sure if that's the issue. I'll just use the code that Scott Korin posted and move on.

EDIT: Used different browsers; Opera and IE ran into an error, but Chrome did it just fine, for some odd reason.

223 points
Picture
Submitted by
Gilbert Peña
over 4 years ago

2 Comments

571c1a549e9ba7618ff6e748265455fb?s=140&d=retro GameBoyBunny over 4 years ago

Weird!

D425cd7538559ac94b6200badb8c7db4?s=140&d=retro kawaiipoo over 4 years ago

how wierd is that


-1 votes

permalink

Interesting that it would accept in-line css code when the instructions say to use the style sheet. I avoid Chrome because it crashes my computer. Not a clue why, but it does.

203 points
571c1a549e9ba7618ff6e748265455fb?s=140&d=retro
Submitted by
GameBoyBunny
over 4 years ago


-1 votes

permalink

I am having the same problem. Will try different browsers and see what happens. thx

277 points
5185bb88eaee0cfbb6002339_965614791
Submitted by
fugot
over 4 years ago

1 Comment

D425cd7538559ac94b6200badb8c7db4?s=140&d=retro kawaiipoo over 4 years ago

DOG POOPOO


-1 votes

permalink

I've now tried with every supported browser except Google Chrome. Nothing works.

Google Chrome and my computer do not get along anymore, so I can't use it to see if it works.

203 points
571c1a549e9ba7618ff6e748265455fb?s=140&d=retro
Submitted by
GameBoyBunny
over 4 years ago


-1 votes

permalink

thanks for the help

119 points
Ef53ab0504ee62cc04513cec9487f57d?s=140&d=retro
Submitted by
Mila Nussbaumer
over 4 years ago