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

CSS CSS Basics (2014) Basic Selectors Class Selectors

in the process of coding my CSS, my title off of my website disappeared i cant figure out how to get it back

in the process of coding my CSS I noticed the title off of my website disappeared, the structure of my site does not match the teachers either, even though I feel like I hit all the right steps.

1 Answer

If you are talking about <h1>Lake Tahoe, California</h1> the text color in your CSS is white. Change it to another color for example:

h1 {
  font-size: 90px;
  color: black;
}

or to match the video add

header {
  background-color: orange;
}

Note you currently don't have an element with class = "main-header" so the following doesn't apply

.main-header {
  background-color: red;
}

For that you would have to edit your index.html to

<header id="top" class="main-header">

Got it ! thanks you!