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

About You Forum

View Course » View Exercise

27 points
52dd61d0282ae3269e0001af_419086425
Submitted by
Brian Gustavo Britto Juro
over 3 years ago

11/21 Set the body's "background" to "black""

<!DOCTYPE html>
<head>
<style> 
body{
    text-align : center;
    background : black ;
    color: white;
}
</style>
</head>
<body>
<!-- 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> Hola Mundo </h1>
<p> Hola mi nombre es Brian Britto, futuro ingeniero de software de la UPAO e ingeniero informático de la PUCP </p>
<input type ="email"
    placeholder="Your email">
<input type ="submit">
</body>

2 votes

permalink

You might want to try taking out the spaces you have between your code.
This is what my code looks like and my background is black.

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

217 points
51522840ea95253d360001d1_481076604
Submitted by
Roya
over 3 years ago

1 Comment

544ac9967c82ca4c77000382_926377993 Alvaro almost 3 years ago

Thank you I had the same problem, but thx :D