I want to generate html layout with areas (divs, spans) that can be shown/hidden conditionally. These areas are hidden by default.
If I call .hide() method with jque
There's absolutely nothing wrong with setting an intial display property of an element, especially if you encapsulate it in a css class.