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

CSS: An Overview Forum

View Course » View Exercise

226 points
Picture
Submitted by
Gwen Cicone
about 3 years ago

I can't find the error 23/26

I keep getting the same message:Oops, try again. Don't forget to set your h1 font to Verdana!
Here is my code copied below. I cant seem to find the error.
thanks!

h1 {
font-family: Verdana;
color: #576D94;
}
p {
font-size: 18px;
color: #4A4943;
}


1 vote

permalink

I have the same problem, it is not working and I can't get past this section! somebody help!!

358 points
8f2311e34f41e8bf3a1a5d1af59e4198?s=140&d=retro
Submitted by
lolamorena
about 3 years ago

1 Comment

Picture Gwen Cicone about 3 years ago

My problem was in the There need to be a space between the semi-colon and the rel. Hope that can help you too! If not post your html code and we can trouble shoot for you!


0 votes

permalink

Did you remember to include h1 and p tags in index.html.

271 points
34d786fe7b822fedec0ac4a6bb256fab?s=140&d=retro
Submitted by
MELANIE DEJESUS
about 3 years ago


0 votes

permalink

could you show us your html code for h1 and p, please

287 points
2080c440a612fb57e954fe6cfcf03aaa?s=140&d=retro
Submitted by
Philip Pearson
about 3 years ago


0 votes

permalink

sorry I forgot it that you needed to see the html code. here it is:

<head><link type="text/css";rel="stylesheet"; href="stylesheet.css">
    <title>Result</title>
</head>
<body>
<h1>Behold Bless the Lord
</h1>
<p>All children of the Lord who stand by night in the house of the Lord lift up your hands to the sanctuary and bless the Lord.</p>
</body>

</html

226 points
Picture
Submitted by
Gwen Cicone
about 3 years ago


0 votes

permalink

Look at the line

There is a semi colon after "text/css" and a semi colon after rel= "stylesheet"

Try removing the semi colons.

287 points
2080c440a612fb57e954fe6cfcf03aaa?s=140&d=retro
Submitted by
Philip Pearson
about 3 years ago


0 votes

permalink

Hi. here is my html
<!DOCTYPE html>

Result

the Best
wow

and my css:
h1 {
font-family: Verdana;
color: #576D94;
}
p {
font-size: 18px;
color: #4A4943;
}
I can't find a mistake, but I only have the message like this: "Oops, try again. Don't forget to set your h1 font to Verdana!"

102 points
58a7fb54e1281354a60000c4_35929907
Submitted by
Anastasia
about 3 years ago

1 Comment

C798a6be5dd3cef6e06b757d325c5f78?s=140&d=retro Haroon Mahmood over 2 years ago

I have the same problem, frustrating


0 votes

permalink

now, seriously? I had the same result and text as you guys and I just tried and tried to find a mistake - and I hadn't one- so I just began to modify the index.html by putting a space after [link type="text/css"; rel="stylesheet"; href="stylesheet.css">] every semi comma in the link. Guess what, it worked!

235 points
53de5b0980ff33afe40020da_503328083
Submitted by
Dana
about 3 years ago


0 votes

permalink

in stylesheet css
h1{
font-family:Verdana;
color:#576D94;
}
p{
font-size:18px;
color:#4A4943;
}

109 points
53de92967c82ca4c29002f93_843457108
Submitted by
bebo_3d66
about 3 years ago


0 votes

permalink

Good Day, bebo_3d66.

try inserting a space after the colon in each statement.

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

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

287 points
2080c440a612fb57e954fe6cfcf03aaa?s=140&d=retro
Submitted by
Philip Pearson
about 3 years ago


0 votes

permalink

I faced the same issue.

Check the sheet index.html
There was an error with the quotation marks in my link type-tag. It said: rel="stylesheet' ...I changed it to rel="stylesheet"
and it worked.
:)

145 points
Cd5f883449dbf8fd7ce27c2cceb97ee6?s=140&d=retro
Submitted by
Karin13505
about 3 years ago