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

CSS: An Overview Forum

View Course » View Exercise

262 points
B0daa87c0c5e403dd58f801679957260?s=140&d=retro
Submitted by
Mono1
about 3 years ago

Can't find my mistake..

I can't find my error, and even though the text turns green, it won't let me pass. Help?

HTML:

<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
        <title>Result</title>
    </head>
    <body>
        <p>You're about to style this paragraph with CSS all on your own!</p>
    </body>
</html>

CSS:

p {
    color: green;
}

2 votes

permalink

Nevermind... I tried again now after re-opening the task a couple times, and now it works.

262 points
B0daa87c0c5e403dd58f801679957260?s=140&d=retro
Submitted by
Mono1
about 3 years ago


1 vote

permalink

You forgot you forgot your semicolons in the . Remember you need the semicolons in order to tell the file that you are ending and starting something new.

191 points
42d557db0d9d2cf3c95c7fa1a1cb9c1f?s=140&d=retro
Submitted by
Cesar Alvarez
about 3 years ago

2 Comments

B0daa87c0c5e403dd58f801679957260?s=140&d=retro Mono1 about 3 years ago

Sorry, what? I did write:

p {
    color: green;
}

The semicolon is there, so I'm not quite sure what it is you're talking about. Besides, the code worked after I re-opened the task.

42d557db0d9d2cf3c95c7fa1a1cb9c1f?s=140&d=retro Cesar Alvarez about 3 years ago

I was talking about in the html file but then i realized I was wrong. lol Disregard my post


1 vote

permalink

i had the same problem
i tried refreshing my page and it works
thanks allot :D

449 points
Picture
Submitted by
Lugamil
almost 3 years ago