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

CSS

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