Ajax-loader-large-white
About You
Changing Color

Alright! Now that we have that boilerplate out of the way, let's continue with some style.

CSS gives us many options to change the background of the web page.
In just a little bit, you will be able to use a gorgeous photo for your background,
but let's keep things simple for now by simply setting the background color to black.

Of course, you are not going to be able to read your page until we change the color of your text!

Instructions
  1. Add a new style rule to the body. Set the background to black:

    body {
        text-align: center;
        background: black;
    }
    
  2. Then, add a new line that sets the body color attribute to white.

?
Stuck? Get a hint! Hint
Get live, fast support from Codecademy Advisors when you get stuck. Learn more.

Inside the body style, add a new line that says:

color: white;

So then, your body style block looks like this:

body {
    text-align: center;
    background: black;
    color: white;
}
index.html
project
View Preview