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 trialAkyya Mayberry
1,948 Pointsis anyone else having an issue with their first greeting line of $greeting being indented?
Just curious because my first line is indented and I believe my code is identical to Hamptons. This training video can use some modifications. I hope it gets better from here.
2 Answers
Christopher Storms
4,474 PointsI noticed the same thing. My opening < ? php tag was on the line after the opening < pre > tag. I changed it to resemble the code in the video so they were on the same line with no spaces. This solved the discrepancy. The reason being that the pre tag displays the output inside of it preformatted, including any tabs. Hope this helps.
Mat Sanders
4,819 PointsIf I remember correctly he fixes it in a later step. So it is there on purpose for now.
Akyya Mayberry
1,948 PointsOk Mat. I have not got to the step where he fixes it, but thanks for confirming it's not my issue. I can't mark your answer as the answer until I get to that point in the training.