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

About You Forum

View Course » View Exercise

44 points
A904113cf4e1b0cd5a61ad4db4914442?s=140&d=retro
Submitted by
Thibault Collignon
almost 3 years ago

7/21 [resolved] What is wrong?

It keeps telling me "Oops, try again. Set the body's "color" attribute to "white"."

Here's what I have so far:

<!DOCTYPE html>

<head><style></head> 

body {
    text-align: center;
    background: black;
    color: white;
}
body {
    text-align: center;
}  
<head></style></head>

<body>

<h1>Blah Blah</h1>
<p>Hi! my name is Blah Blah. Sentences sentences sentences sentences sentences sentences sentences.  </p>
<input type="email" placeholder="Email">
<input type="submit">


</body>

0 votes

permalink

Hi Thibault,

Your head element should look like this:

<head>
    <script>
        all your CSS rules go in here
    </script>
</head>

I see that you have twice selected your body element, you should combine those in to one body { ... }.

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
almost 3 years ago

2 Comments

A904113cf4e1b0cd5a61ad4db4914442?s=140&d=retro Thibault Collignon almost 3 years ago

Thanks! I got it working!

55df2afa95e3787b9200005e_359368177 Judy almost 3 years ago

You're welcome!