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

can't use precents in the height

my width is working but its not working for the height help would be appreciated

#content{
  display: block;
  height: 100%
  width: 100%;
  background: -webkit-linear-gradient(,#fafafa,#d5d5d5)
}

Yea you forgot to add a semi-colon at the end of you height declaration, super simple mistake but the one that gets everyone when they first start coding =D

2 Answers

This is an example link

Hope it helps you out

Hey Leo,

Remember to check your CSS declarations and make sure that they end with semi-colons.

Good luck!