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

CSS: An Overview Forum

View Course » View Exercise

228 points
0f07ca2e10b52208db5704f368e91fa4?s=140&d=retro
Submitted by
stampygal
about 2 years ago

12/26 I am REALLY confused! Plz help!

Index.html
<!DOCTYPE html>



Result


Change me to Verdana.
Change me to Courier.
Make me purple!


I have been stuck on this question for a year now!I don't know what to put on the stylesheet.css and I also heard that this problem is broken. So if someone can help me with this problem I will gladly appreciate it. Thanks!


1 vote

Best answer

permalink

Nevermind! Now I know the correct code is this...
/* Tadase-kun and Amu forevs!*/
h1
{
font-family:Verdana;
}
h3
{
font-family:Courier;
}
p
{
color:purple;
}

228 points
0f07ca2e10b52208db5704f368e91fa4?s=140&d=retro
Submitted by
stampygal
about 2 years ago

3 Comments

C8a354949874e567b4e648bb35de9568?s=140&d=retro Shalmali about 2 years ago

did exactly the same and it still give an error, something may be wrong with this lesson

C8a354949874e567b4e648bb35de9568?s=140&d=retro Shalmali about 2 years ago

h1{
font-family:Verdana;
}

h3
{
font-family:Courier;
}

p{
color:purple;
}

still i keep getting error is the H1 set to Verdana

55aa6e4276b8fec264000553_594003585 Adhassan about 2 years ago

This is the correct answer. I've done mine like it says here.


1 vote

permalink

I am getting an error for this too:

Oops, try again. Did you remember to close your tag?

But my stylesheet is linked correctly since I can see the font changes in the preview.

684 points
A13a0220acdae5e83f93267e76b3eb94?s=140&d=retro
Submitted by
Deutro
about 2 years ago


0 votes

permalink

h1 {
font-family: Verdana:
}
h3 {
font-family: Courier;
}
p {
color: purple;
}
/* I need to comment*/
My Code also didn't work untill I changed style from index.html like that:

Change me to Verdana.

130 points
30368072669100a216daf8b2c84c5abe?s=140&d=retro
Submitted by
Intelectual
about 2 years ago

2 Comments

30368072669100a216daf8b2c84c5abe?s=140&d=retro Intelectual about 2 years ago

Here is the full code:
<!DOCTYPE html>


    <title>Result</title>
</head>
<body>
    <h1 style="font-family:Verdana">Change me to Verdana.</h1>
    <h3>Change me to Courier.</h3>
    <p>Make me purple!</p>
</body>

548f25ff76b8fefcbb009798_42706446 Isael Elena about 2 years ago

Thank you very much! I do not understand why we have to use a closing tag when it was just a regular one on the "Link it up" lesson.


0 votes

permalink

t should look like this:

index.html

<!DOCTYPE html>

<!--Add your link tag here!-->

<title>Result</title>

Change me to Verdana.
Change me to Courier.
Make me purple!

stylesheet.css

/* CSS comment*/
h1 {
font-family: Verdana;
}
h3 {
font-family: Courier;
}
p {
color: purple;
}

263 points
C65441967b29b97d17815749eb0c0769?s=140&d=retro
Submitted by
AndiswaMS
about 2 years ago