CSS CSS Layout Basics CSS Layout Project Creating and Styling the Layout Containers

Aaron Bailey
PLUS
Aaron Bailey
Courses Plus Student 2,856 Points

What is the key command he uses to indent a selection of text to make it look more presentable?

Asking for a friend

2 Answers

Ryan Groom
Ryan Groom
17,661 Points

Aaron Bailey If you are using Visual Studio Code the hot keys for auto formatting code on a Mac: "Shift Option F" and on a Windows "Shift Alt F". Let me know if that answers your question properly!

Austin Whipple
Austin Whipple
27,491 Points

In addition to the auto-formatting options Ryan pointed out, you can also use cmd + ] when you have a multi-line segment of code selected. This will indent that entire chunk.