4 ms·
In the beginning websites were simple enough (and also light on resources) that static layouts and styling were more than enough. In those regards, a simple syn
by woojoo666 5y ago
In the beginning websites were simple enough (and also light on resources) that static layouts and styling were more than enough. In those regards, a simple syntax like HTML and CSS worked well. Just like how we still use JSON/YAML/TOML for configuration files, instead of reaching for the nearest turing complete language. However it's only in the past 10-15 years that complexity has really started to grow on the frontend, making it more and more enticing to have conventional programming language constructions (conditionals, functions, loops) in the layout and the styling.