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

About You Forum

View Course » View Exercise

81 points
Submitted by
almost 3 years ago

7/21 Set the body's "color" attribute to "white".

Alright so I am trying to set the body color to white and I wrote color:white in my code inside the as you can see. I tried moving the curly parentheses and checking for errors. I also tried to write body color:white and bodyColor:white
I keep getting the error code "Oops, try again. Set the body's "color" attribute to "white"
Please help! I can't get past this! Thanks for your time and effort in reading this.

<!DOCTYPE html><head><style> body{text-align:center;} body{text-align:center;}</style></head>

<div>;<div style="visibility: hidden"> </div>}{**<body>** text-align:center;}

<!-- 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>Antonia Heacock</h1>
<p>Hello! I am a creative and independent teenager aspiring to study software engineering at the United States Airforce Academy, and become a software engineer or go into Wall Street business without the traditional MBA route at a top teir business University. I enjoy running Cross Country, Track & Field, and I swim for conditioning. I love playing the Sims, partying, and drinking earl grey tea. This is my first Website! :)</p>
<input type="email" placeholder="Email">
<input type="submit">
**body {
color: white;} </body>**

0 votes


Hi heacockantonia,

Putting this CSS code:

body {
color: white;}

In with your HTML code is going to cause a problem. All of your CSS code belongs in the <style> ... </style> section.

3698 points
Submitted by
almost 3 years ago