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 144,810 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:

Michelle Aldén
Michelle Aldén
2,971 Points

Highlight the section you want to indent and then press Tab

Akki Paunila
Akki Paunila
1,674 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,674 Points

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

Akki Paunila
Akki Paunila
1,674 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
173,963 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.