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 trialDeirdre Freeman
Courses Plus Student 5,802 Pointscode challege - text properties problem!
Having trouble with this -Indent the paragraph's first line by 50px.This is what I put:
p { text-indent: 50px; } This answer appears Bummer! Check the text indent declaration in your CSS. Could someone help me please?
4 Answers
Guil Hernandez
Treehouse TeacherHi Deirdre FReeman,
I tested the code challenge several times to make sure it's not a bug, and the same answer passed every time. But I did try to replicate what could be the reason for the error. Check the h1 CSS rule above, and make sure that it has a closing }
.
If that still doesn't work, can you please post all the CSS from the code challenge? Thanks!
jack le
Courses Plus Student 1,235 PointsHi Guil,
I'm having the same exact problem.
Here's what my css looks like:
h1 { text-transform: capitalize; }
p { text-indent: 50px; }
jack le
Courses Plus Student 1,235 Pointswhoops! Found my error. Thanks!
Laura Jones
2,970 PointsI'm also having this problem, here's my code:
h1 { text-transform: capitalize; }
p { text-indent; 50px; }
I know I must be missing something, but I can't figure out what.
Laura Jones
2,970 Pointsfound it.
Michael Russell
7,332 PointsThis code passed the challenge:
h1{ text-transform: capitalize; }
p{ text-indent: 50px; }
This didn't work for me the first time. i didn't have any missing characters in the code, no missing "}" or anything. i even tried changing the selector to p::firstline and just ::firstline. When I came back to just using "p" as the selector, the code passed.