“Why is JavaScript fragile? | Go Make Things”
Devs often dismiss HTML and CSS as toys. But the simplicity and robustness means that any time a feature can be implemented in HTML/CSS, that implementation will be substantially more reliable and less buggy than the same feature in JS