Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML Introduction to HTML and CSS (2016) Adding a New Web Page Write the CSS

my background color will not change i do not know whats wrong

h1{ background-color: #e2e2e2; }

Are you sure you linked your CSS file to your index.html file?

<head>
     <link rel="stylesheet" href="resume.css">
     </head>

Please add the real code which target the color CSS one

1 Answer

There is no problem with the link of CSS . I think you wronged the value of color . I suggest try with another color value e.g.

FFFFFF or #800000

The value are attain color which are specific if you don't know there is no problem you can google search may try this link https://www.w3schools.com/cssref/css_colors.asp to learn more. I hope that helps