I cannot move forward, help please (12 сss)


#1

Continuing the discussion from Help needed for css class 12:
HTML:
<!DOCTYPE html>
<html>
<head>
<!--Add your link tag here!-->
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>Result</title>
</head>
<body>
<h1>Change me to Verdana.</h1>
<h3>Change me to Courier.</h3>
<p>Make me purple!</p>
</body>
</html>

CSS:
h1
{
font-family:verdana
}
h3
{
font-family:courier
}
p
{
color:purple
}
/*my comment*/

what's wrong here?
Oops, try again. Did you remember to make your h1 font-family Verdana?


#2

I cannot see your HTML pls use the correct editing format


#3

Verdana is spelled with uppercase first letter.

@zainabrawat, keep in mind you don't get notification/unread from a edit


#4

h1
{
font-family:Verdana
}
h3
{
font-family:courier
}
p
{
color:purple
}
/*my comment*/

p.s. nothing is changed
Oops, try again. Did you remember to make your h3 font-family Courier?


#5

look now at code pls


#6

courier change the C to uppercase


#7

wow, it's work, thx
but why so?
i saw that font is changed, but i can't pass that


#8

What error you getting ?


#9

Certain font-family's are with uppercase letter, others with lowercase letters. The browser might catch this mistake and correct this mistake (or the codecademy IDE did), either way, the checking script wanted you to do it correctly, and is programmed in such a way that you have to use uppercase first letter


#10

now i pass it, thanks
my eng is bad , you know)
but when verdana and courier are written in lowercase font change but it is impossible to pass this untill you write in upper case, it's strange..


#11

as @stetim94 said the proper way certain fonts need uppercase others don't but the reason why you saw the change is because the browser or cadecademy IDE picks up the mistake and runs the correct format..


#12

ok, I understand , thank you
I did not expect such quick answer
you really helped me :slightly_smiling:


#13

np at all,

Whoever is online will help you as soon as they can

Happy coding !