Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

These are all super dark, for some reason.


You have to actually run them. Otherwise, they're just a dark CodePen preview.


Why the extra step of having to click each one? Only a few of them are interactive.


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.


Somewhat ironically, Codepen ended up introducing the JS execution requirement to view the content.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: