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