Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


code 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
Guil Hernandez
Treehouse Teacher

Hi 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!

Hi Guil,

I'm having the same exact problem.

Here's what my css looks like:

h1 { text-transform: capitalize; }

p { text-indent: 50px; }

whoops! Found my error. Thanks!

I'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.

found it.

Michael Russell
Michael Russell
7,332 Points

This 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.