| ▲ | d-us-vb 6 hours ago | |
Because codepens can run javascript. And if a page has 50 of them, it might make the page load time much longer. I know that all these examples are pure CSS, and maybe there is a setting in codepen to disable the "Run" button and automatically run it. Still, getting to decide is generally a better pattern than presuming that that's what the user wants, especially when the fact that the code is inside a codepen makes it explicitly not an integral function of the page. "I thought this was just a blog, and now you want me to run all this javascript??" -- some JS hater, probably. I appreciate getting to choose as much as possible when code runs. | ||
| ▲ | zamadatix 6 hours ago | parent [-] | |
Somewhat ironically, Codepen ended up introducing the JS execution requirement to view the content. | ||