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.

marcus fields
2,641 PointsREAL QUICK!!!! WHAT KEYS DO I PRESS TO INDENT?
i forgot it bruh
2 Answers

Jonathan Tyler
2,504 PointsThe Tab key will indent your lines for you. You are able to change the number of spaces your lines are indented by at the bottom right of your code editor. The usual values used by most programmers is either 2 or 4 spaces.
Hope that helps.

marcus fields
2,641 Pointsyoure the real MVP bruh
marcus fields
2,641 Pointsmarcus fields
2,641 Pointsshout out to you bruh... but i thought it was a "shift key" i'm suppose to hold, along with a certain letter key (& this is if i already have a few lines of codes highlighted)
marcus fields
2,641 Pointsmarcus fields
2,641 Points& thanks for the response
Jonathan Tyler
2,504 PointsJonathan Tyler
2,504 Points@marcus fields, no problem. If you already have code written and wanted to indent it, then you should also be able to go back and indent it simply by highlighting the code and pressing tab.