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 trialamiel sena
Java Web Development Techdegree Student 8,102 PointsIndenting
Why do we need to indent the elements and tags? is it for organizing?
3 Answers
Jason Anders
Treehouse Moderator 145,860 PointsIt's all about readability and organization. Indentation allows to see the children and parents much easier. Or, in the cases of other languages, what is nested and part of a class, method, function, etc.
Proper indentation is very important in programming. :)
john larson
16,594 PointsI do believe you are correct. Organizing, makes it easier to follow and see how things relate to one another.
amiel sena
Java Web Development Techdegree Student 8,102 PointsThanks guys
john larson
16,594 Pointsjohn larson
16,594 PointsHi Jason, since your on can you take a look at my Sass question? It's around here somewhere.
Jason Anders
Treehouse Moderator 145,860 PointsJason Anders
Treehouse Moderator 145,860 PointsI actually did have a look, but I haven't done Frontend code in a long time, and only took the Basics in Sass. I'm more of a Backend programmer. Tagging Hampton Catlin ... maybe he's around and can help.
Sorry I couldn't be more help.
john larson
16,594 Pointsjohn larson
16,594 PointsThanks Jason.