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

About You Forum

View Course » View Exercise

104 points
52c9e100282ae37f81007b58_948589849
Submitted by
Kati Mills
over 3 years ago

11/21 Still saying I didn't change the color

Here is my code:

<!DOCTYPE htmL>
<head><style>h1 {text-align: center;} p {text-align: center;} body {text-align: center;}</style></head>
<body>body {text-align: center; background: black; color: white;}
<!-- I'm a comment. You won't actually see me on the web page.
     You should write your header in the line below me! -->
<h1>Onewithwings</h1>
<p>I am a paragraph. I contain several sentences. These are my sentences. Notice how the words are strung together in separate phrases. This constitutes a paragraph.</p>
<input type="email" placeholder="Your email">
<input type="submit">
</body>

Am I missing something?


2 votes

permalink

still not getting this... I see a lot of people are having this issue...

104 points
52c9e100282ae37f81007b58_948589849
Submitted by
Kati Mills
over 3 years ago


1 vote

permalink

<!DOCTYPE html>


body {
text-align: center;
background: black;
color: white

}



<!-- I'm a comment. You won't actually see me on the web page.
You should write your header in the line below me! -->
Melanie
Hi! I really like learning how to code. Or something. I don't know.

58 points
7fc2823f2070c2bbbefe891f8de7e1d2?s=140&d=retro
Submitted by
staples701
over 3 years ago

1 Comment

52e9138a282ae38f9e00231d_950074930 GibbyG over 3 years ago

-_- that works perfectly


0 votes

permalink

Hi Kati, just move your body selector out of your body tag and into your style tag.

This it the pattern you should be aiming for:

<!DOCTYPE html>
<head>
    <style>
        all your CSS selectors go in here
    </style>
</head>
<body>
    all your HTML tags go in here
</body>

3692 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 3 years ago