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 HTML Basics Structuring Your Content Semantic HTML: <header>, <footer> and <section>

Idris Zeren
Idris Zeren
1,568 Points

i can not indent the code with CTRL and Closing bracket ??

Like described i tried to indent the code with CTRL or perhaps COMMAND but it doesnt work???

7 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Windows machines don't have a command key, but Macs do have a CTRL (Control) key. If you're on a Mac, it is Command + ]. (Are you using the square brackets?)
Also, if you're not using a code editor (eg: Atom, Sublime Text, etc...) that command doesn't work on plain text editors (eg. Notepad).

I hope one of us was able to solve your problem.

:) :dizzy:

Highlight the section you want to indent and then press Tab

Akki Paunila
Akki Paunila
1,675 Points

Must be my Scandinavian type of keyboard, that opens the recent tab for me. Well, I'll have to leave it for now, don't want to be stuck because of that when everything else rolls nicely.

Idris Zeren
Idris Zeren
1,568 Points

Well i am using a windows laptop and the command in this case is CTRL + ? // i searched on google for the issue... thank you for the fast response..

On windows select test and press Tab to indent code in threehouse workspaces.

Akki Paunila
Akki Paunila
1,675 Points

What exactly is the combination for windows keyboard? Please just the answer without any confusing explanations.

Akki Paunila
Akki Paunila
1,675 Points

"Nicola Carrucciu on Oct 10 On windows select test and press Tab to indent code in threehouse workspaces."

Doing this the whole selected text disappears.

Steven Parker
Steven Parker
231,122 Points

As mentioned in the question title, it's Ctrl + ] (for workspaces and certain editors). Perhaps Nicola Carrucciu might mention which windows editor that tab technique works on.

Victor Rebello
Victor Rebello
2,322 Points

on windows it is CTRL + closing square brackets.

Tarald Johansen
Tarald Johansen
555 Points

Hey, to explain it as easy as possible without any confusing bs, since you are using a windows keyboard the only thing you have to do is highlight the text you want to indent then you hit the tab button on the keyboard.