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.

CSS How to Make a Website CSS: Cascading Style Sheets Use ID Selectors

Little Issue to Indent

Hi there!

I have a stupid question to ask… I am actually using a French (AZERTY) Keyboard, and unfortunately it seems that the command taught in the video to indent a selection does not work… the problem is that I do not have a square bracket directly on the keyboard and I have to use Alt + Shift + ) in order to make a square bracket appear. I have tried to search a couple of forums but I did not find anything that could solve my problem.

Would you be able to help me figure it out?

Many thanks

5 Answers

Kevin Kenger
Kevin Kenger
32,834 Points

Hey Paul,

I read somewhere that on a french keyboard "super+$" would work to indent the code, and "super+ù" should unindent it. I'm not using a french keyboard however so this is all just gobbledygook to me haha! But I hope it works!

Raphael Reiter
Raphael Reiter
6,820 Points

sorry... what is the "super" key?

Kevin Kenger
Kevin Kenger
32,834 Points

Hey Raphael,

It's the same thing as the Command key, depending on which keyboard you have.

Michael Alaev
Michael Alaev
5,415 Points

Hey,

Did you try to use the "TAB" key to indent the line? I don't think I will work on multiple lines but on single line it should work like a charm.

Hey Michael,

Thanks for replying Of course I did :) My issue is actually if I want to indent multiple lines… Anyway; maybe I should have also said on my first message that I am using a Mac book Air.

Hey Kevin!

Many thanks Dude! At least the indent: Command + $ does work. On the other hand, the unindent command that you mentioned does not work but that does not matter much.

Thanks a million.

Kevin Kenger
Kevin Kenger
32,834 Points

Awesome man! I'm glad that at least one of them worked! Sorry they both weren't winners though :/

:)