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
Monica Chung
228 PointsWhat is the keyboard shortcut for closing a tab?
The video says Shift + . when closing the h1 element for example. This keyboard shortcut does not auto close the tab for me, and I would really really like to auto close with a shortcut. Help please!
2 Answers
idan ben yair
10,288 PointsHi Monica, the tag will close by itself. Workspaces has a feature called "auto complete" and what it does basically is that when you open a tag it will recognize which tag are you opening and will close it for you,
Let me know if that helps :)
Seth McCombs
16,767 PointsIs this in workspaces that the tag is not closing? Workspaces should autocomplete, when you type a tag, for instance an <h1> when you type the greater than > sign, it should automatically create the closing tag.
Monica Chung
228 PointsYou know what, it looks like I'm just impatient. The keyboard shortcuts and autocomplete does not apply to the "challenges". (Should be an obvious fact, but not when you're itching to try em out). I have to wait for all this prerequisite stuff before starting in workspaces. Thanks for clarifying!
Seth McCombs
16,767 PointsSure thing! Welcome aboard!
Monica Chung
228 PointsMonica Chung
228 PointsThanks! I didn't realize the shortcuts don't apply to the "challenges". I have to wait til I use workspaces after all this prerequisite stuff