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 trialVinh Pham
154 PointsHow can i indent the list items like 01:39?
How can i indent the list items like 01:39?
5 Answers
andren
28,558 PointsYou can indent by hitting the tab key on your keyboard, it is typically the key above the caps lock button on the left side of your keyboard.
To indent groups of code like shown in the video you just have to highlight all of the lines you want to indent and hit tab while they are selected.
You can also decrease the indentation of a group of lines by hitting shift + tab.
Curtis Vanzandt
9,165 PointsDo you mean in your code or in your browser? If you want to indent it in your code, you can use the "tab" key on your keyboard. This will make it easier to read. If you view your HTML in your browser, the list items should be just a bit indented. If you want them more indented, you may need to add a margin to the left of the list items. You could code styling directly in the list items.
<ul style="margin-left:5px"> is just an example of this.
wilson f
546 PointsThis is a good tip to know.
Jody Bishop
176 PointsIf the videos explained every keyboard trick and shortcut, they would become too long. But if keyboard shortcuts were listed below in the Teacher's Notes, that could be helpful.
theemwiz
4,641 PointsThankxx for the help had the same problem .
Ibrahim Halilu Abubakar
Courses Plus Student 153 PointsThanks for the help.
Siti Mariam Mazlan
5,805 PointsI didnt know what indent was either but i know someone probably already ask the question. Thanks!
Mark Borley
362 PointsHad the same problem, the video should probably explain that, 'Indent by pressing tab'. It may have previously and I missed it, either way thanks this helped.
Jรบlio Dallacort
152 PointsJรบlio Dallacort
152 Pointsthanks man, Just had the same problem
wilson f
546 Pointswilson f
546 PointsThe video doesn't tell you "how" the list was indented. Thank you for the info.
Yesak Tiku
166 PointsYesak Tiku
166 PointsThanks dude. I guess they overlooked that minor detail.
Amanda Dike
Front End Web Development Techdegree Student 793 PointsAmanda Dike
Front End Web Development Techdegree Student 793 PointsThanks, this is very helpful.