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

CSS: An Overview Forum

View Course » View Exercise

120 points
Picture
Submitted by
xhamsterx
about 3 years ago

Anything wrong with my code? 23/26

This is the code I wrote:

h1 {
font-family: Verdana;
color: #576D94;
}

p {
font-size: 18px;
color: #4A4943;
}

I think that's correct but a message keeps saying "Don't forget to set your h1 font to Verdana!"

Can somebody help me with this?


As a reference, here is my html;

<!DOCTYPE html>

 <href link type="text/css" rel="stylesheet" href="stylesheet.css"/>
    <title>Result</title>

    <link/>
</head>
<body>

aight

hey

</body>

1 vote

permalink

your link to stylesheet is incorrect.
secondly, <link/> is nothing. it doesnt exist.
</link> is also not existing. a link to stylesheet looks like this:
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
and is self closing, so it doenst require a </link> tag. as result of incorrect link to stylesheet it wont read your css code.

2410 points
5671826195e378c47d000782_659060817
Submitted by
stetim94
about 3 years ago

1 Comment

Picture xhamsterx almost 3 years ago

thanks a lot!!