Reading Time: 3 minutesA complaint I hear sometimes from folks programmers learning JavaScript is that it has both null and undefined. If JavaScript is your first programming language, this may not seem weird, but once you compare it to others… yeah, it’s strange. … Continue reading
Category: Web
I’m a web developer and a consultant. Almost everything here is web related. Maybe I’m talking about a CMS, CSS, or UX or UI. Or maybe it’s about web browsers and HTML5.
Does Speaking Two Dialects Make You Bilingual or Something Else?
Reading Time: 3 minutesAbout every month I find myself looking at some US Dialect Map trying to figure out where some person I’ve met fits in. And inevitably it takes me back to pondering the fact that in my own family we speak … Continue reading
Weird JavaScript: How to make enemies with type coercion
Reading Time: 2 minutesWho cares about friends? How would you like to piss of Todd who won’t shut up about this season’s IPAs and Elon Musk’s 4D chess he’s playing on Twitter? Screw Todd. No one likes him and he deserves to hurt … Continue reading
Weird JavaScript: Why does JavaScript have a === ?
Reading Time: 2 minutesThis is another one in the occasional series of, “weird JavaScript” where I address weird stuff in JavaScript that only haunts your nightmares if you dream in other programming languages. Today we discuss what the hell === actually does. Buckle-up … Continue reading
Weird JavaScript: Why do you get an empty string when you add arrays?
Reading Time: 2 minutesI’m going to have an occasional series about weird stuff in JavaScript. Let’s kick this off with a weird question: Why is it that when you have [] + [], you get an empty string (”) ? Isn’t this against … Continue reading
Good-enough JavaScript Practices
Reading Time: < 1 minuteI’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 … Continue reading
How to override a Drupal 9 module template
Reading Time: 3 minutesYou’re doing your thing: Writing some markup for some Drupal template. Turns out a lil’ part of your template uses something coming out of a Drupal module. Like maybe Fences is just trying way too hard and you need to… … Continue reading
CSS: How to target an exact amount of classes
Reading Time: 3 minutesCSS continues to offer new ways to select things in ways we never could’ve imagined in the past (especially for an old timer like me). Today I want to focus on a possible (but not always probable) use-case: I have … Continue reading
Introducing the Form Baseline
Reading Time: 3 minutesSo a good while back I released this CSS utility / NPM Package called typography-baseline. It was a handy way to kickstart complex web projects because it set base typographic styles. Then I needed something for tables. And then I … Continue reading
Introducing the Table Baseline
Reading Time: 3 minutesSo a while back I released this CSS tool / NPM Package called typography-baseline.css. It was a pretty handy way to kickstart projects because it set some baseline styles to all my typography. More recently, I’ve come into some situations … Continue reading