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
L McLean
Courses Plus Student 5,329 Pointstext-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
Chase Lee
29,275 PointsTry putting a space between the colon and the five. (Note: This advice is just looking at it at first glance).
L McLean
Courses Plus Student 5,329 PointsIt didn't work. :(
Chase Lee
29,275 PointsCould 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 `)
L McLean
Courses Plus Student 5,329 PointsHere 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.
Chase Lee
29,275 PointsBy putting them around it. It will look like this
L McLean
Courses Plus Student 5,329 Pointsparenthesis? Because I tried and it doesn't work. Nor '
Michael Trilford
7,232 Pointsp {text-indent: 50px;}
That should work, I just completed the challenge.
L McLean
Courses Plus Student 5,329 PointsIt's not working. I'll write to treehouse. There must be something wrong. ;(
Thank you everyone!
Michael Trilford
7,232 PointsMake sure the previous code you write is still present
h1 {text-transform: capitalize;}
p {text-indent: 50px;}
L McLean
Courses Plus Student 5,329 PointsMichael 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
Chase Lee
29,275 PointsWrap it in these `, and this is the code that i used p{text-indent: 50px;}
Michael Trilford
7,232 PointsHah, 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.
Michael Trilford
7,232 Points` = the button under the esc key. Not a quote that I was getting confused with.