Joined August 2014
·

Darek Kay

Posted to Importance of Element Indentation over 1 year ago

How much I hate those unnecessary, bloating closing comments. Any decent editor can highlight opening/closing tags. Using those comments is also error-prone - your code is a great example. The first div closing tag is the container div, NOT the main-navbar tag. You obviously switched the closing div tag lines (this formatting wouldn't make sense otherwise). Last but not least - manually formatting your code/indentation is also unnecessary, if you're using any decent editor.

There are several project settings, that you SHOULD share, like formatting options etc.

Achievements
1 Karma
0 Total ProTip Views