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

HTML

REAL QUICK!!!! WHAT KEYS DO I PRESS TO INDENT?

i forgot it bruh

2 Answers

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

shout 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)

& thanks for the response

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

youre the real MVP bruh