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 trialNavneet Singh
2,424 PointsDash Between two words like "text-aling"
Is is necessary to put dash between all two letters in css, For ex. the word "text-align" Can't we write "text align"
3 Answers
Estelito Calayag Jr.
5,818 Pointsspace character between words are not recognize by the browser
matth89
17,826 PointsThe dash is indeed necessary
jason chan
31,009 Pointsyes the dash is needed for the css to work. careful of typos
h1 {
text-align: center;
}