Best Practices

by

Reading Time: < 1 minute I’m not Kyle Simpson or Jordan Harband. I’m not some massive JavaScript influencer and OSSer who’s writing new lint tools and utilities. But I am a dude who loves code standardization. So I want to share some good-enough JavaScript practices that anyone who has to touch JS can follow.

by

Some Pretty terrible class names

Reading Time: 9 minutes Phil Karlton has famously said that the two hardest things in computer science are naming things and cache invalidation. That’s true. Naming stuff is hard, and so is updating a class name when the stylesheet is cached.

by

generated meme of Side-eye Chloe with the text,Could you Not :not()

Reading Time: 4 minutes CSS is full of little gotchas and head scratchers. It’s also got a land mine or two that’s all too easy to step on. One of those landmines is the :not() pseudo-class. As useful as it may seem, I’d like to encourage you to not use it, unless you really, really mean to because of

by

Reading Time: 7 minutes It’s not that hard to write CSS. The basics of how the language works can be learned in 15 minutes. Most of the major properties and techniques for using them can be learned in a few days.  You can learn how to build static websites within a few weeks —and there’s scores of books and blogs

by

Reading Time: 2 minutes Tridion’s Experience Manager (XPM) has been a hot topic at Tahzoo recently. Piti Itharat, Shawn Webber, and I have all been talking about some of the “gotchas” we’ve experienced in the front-end of XPM implementations. Especially after a few front-end folks started asking for tips on how to be XPM-minded when writing HTML and CSS,