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

General Discussion

text-indent

What am I doing wrong?

Here is the question: Indent the paragraph's first line by 50px.

Here is my answer:

p { text-indent:50px; }

Thank you!

13 Answers

Try putting a space between the colon and the five. (Note: This advice is just looking at it at first glance).

It didn't work. :(

Could you put a link to the code challenge please. (Also for next time you can display your code as you would see it in the text editor by wrapping it in `)

Here is the link to the challenge: http://teamtreehouse.com/library/text-properties. I don't think the link will take you to 2 of 4 though.

I don't understand what you mean by "wrapping it in".

-L

Thank you so much for helping me. I know this is challenging.

By putting them around it. It will look like this

parenthesis? Because I tried and it doesn't work. Nor '

p {text-indent: 50px;}

That should work, I just completed the challenge.

It's not working. I'll write to treehouse. There must be something wrong. ;(

Thank you everyone!

Make sure the previous code you write is still present

h1 {text-transform: capitalize;} p {text-indent: 50px;}

Michael Trilford,

I'm an idiot!...for not noticing something that small. Not that anyone else would be an idiot if going through the same thing. Just me! I was missing a curly bracket. ;(

Thank you so much for your help! LOL!

L

Wrap it in these `, and this is the code that i used p{text-indent: 50px;}

Hah, it is always the small things that catch us off guard. : )

I hate it when I am missing a media query closing bracket and I have no idea why it isn't picking up the styles. Once you go through these things often, you quickly know what to look for.

` = the button under the esc key. Not a quote that I was getting confused with.