John Rhea
John is a storyteller with design and development skills. He likes cupcakes, the word "falafel" and using zombies to teach web development (https://undead.institute) His mom thinks he's very funny.
Orbital Mechanics (or How I Optimized a CSS Keyframes Animation)
Pop(over) the Balloons
I’ve always been fascinated with how much we can do with just HTML and CSS. The new interactive features of the Popover API are yet another example of just how far we can get with those two languages alone.…
Web Component Pseudo-Classes and Pseudo-Elements are Easier Than You Think
We’ve discussed a lot about the internals of using CSS in this ongoing series on web components, but there are a few special pseudo-elements and pseudo-classes that, like good friends, willingly smell your possibly halitotic breath before you go …
Context-Aware Web Components Are Easier Than You Think
Another aspect of web components that we haven’t talked about yet is that a JavaScript function is called whenever a web component is added or removed from a page. These lifecycle callbacks can be used for many things, including making …
Supercharging Built-In Elements With Web Components “is” Easier Than You Think
We’ve already discussed how creating web components is easier than you think, but there’s another aspect of the specification that we haven’t discussed yet and it’s a way to customize (nay, supercharge) a built-in element. It’s similar to …
Using Web Components in WordPress is Easier Than You Think
Now that we’ve seen that web components and interactive web components are both easier than you think, let’s take a look at adding them to a content management system, namely WordPress.
There are three major ways we can add them. …
Interactive Web Components Are Easier Than You Think
In my last article, we saw that web components aren’t as scary as they seem. We looked at a super simple setup and made a zombie dating service profile, complete with a custom <zombie-profile>
element. We reused the element …
Web Components Are Easier Than You Think
When I’d go to a conference (when we were able to do such things) and see someone do a presentation on web components, I always thought it was pretty nifty (yes, apparently, I’m from 1950), but it always seemed complicated …