var is globally scoped and hoisted, which can lead to unintended
side effects. let is block-scoped and can never be redeclared
within that scope β much harder to break, but need to be careful
about β¦
The RICG has a new fight: CSS container queries. The article's
ignited discussion, beneficially. The problem is legitimate, the
reasoning well argued and the solution intriguing. But something's
β¦
My new PC is up and running and starting to be "just right"
(we'll get to further details later, I promise), so one of the big
"new" things I've got for the new year is a subscription to Adobe
CC - β¦
For the second year running, Khoi Vinh of subtraction.com is
asking for designers/developers to fill out a survey detailing what
tools they use in their day-to-day workflow. I'm probably not the
β¦
An attempted experiment to replicate the blog layout of ilovetypography.com, which uses floats to great effect, with more modern CSS Grid and Flex techniques. Turned out to not be quite so simple, but taught me a lot about the benefits and limitations of CSS Grid.
Migrating assets to a new CMS can be a complete pain, but working out which files go with each page or article on a website doesn't have to be a nightmare if you start with a solid foundation. For me, that means tightly coupling my folder structure on the server with my content structure on the website, a workflow that Craft is particularly nifty at automating.
A look back and a look forward... it must be the start of a new year. 2019 held a lot of change and personal improvement, but I can't help but feel that 2020 is going to be a big one. So what exactly do I have planned and what am I hoping for the next 12 months?
Well, it only took about a week of dazed puzzling, data tables, and tearing my hair out in clumps, but I think I may finally have a rough content taxonomy for theAdhocracy. A rough first version, that is. Let me explain...
There has been a lot of web chatter around the launch of Deno,
the new JavaScript runtime engine. Their introductory blog post
does a great job of explaining when you should use it (and
conversely β¦
Marketing needs versus user experience is a topic that I have some deep misgivings over, but a recent post made me want to try and boil some of those thoughts down into their underlying rationale. I'm not sure I totally succeeded, but there we go.
Another month, another big and fully remote JavaScript conference. JSNation fit into my schedule a little less (and didn't quite overlap with my interests as neatly) but it was a fun event with some interesting talks on topics that are often only on my periphery. Much to think about!
Baldur has written a wonderfully paced, deeply interesting post
on the whole SPA/MPA (AKA normal website) debate with one critical
conclusion: SPAs are fine; MPAs are fine; anything will suck
if β¦
A very useful package for getting around the otherwise
convoluted steps needed to upgrade npm on Windows. Just open up a
PowerShell instance as Admin and use the following three commands
(and only β¦
π
Modern CSS for dynamic component-based architecture
I'm still enjoying the wombo-combo of Sass and CSS Modules, but my React-ified brain occasionally blanks on how to approach certain problems. The one that catches me out the most: style inheritance.
There have long been issues (mainly due to browser regressions)
with using display: contents; in the wild, but there are still some
potential use-cases for effectively removing non-semantic elements
β¦
An interesting look at whether the current mobile-first paradigm
is problematic. Ultimately, the title feels a little like
click-bait; to me the solution proposed remains mobile-first, but
suggests β¦