2022-10-28 #javascript Local storage tends to be the obvious place to persist data locally in a web application. We tend to grab straight for localStorage , but it’s not the only tool in our workbox.
Home All articles In CSS Grid, the grid-template-columns and grid-template-rows properties allow you to define line names and track sizing of grid columns and rows, respectively. Supporting interpolat
Published at Oct 22 2022 Updated at Oct 22 2022 Reading time 2min Not too long ago, I was looking into refactoring my site to go all in with CSS grid! I've been aiming for a classical centered blog la
By way of a post by Manuel Matuzović which is by way of a demo by Temani Afif . .wrapper { margin-inline: max(0px, ((100% - 64rem) / 2)); } You’d be doing yourself a favor to read Manuel’s breakdown o
17 October, 2022 UX is more than usability It is common for usability to be thought of as the whole user experience. The term is used to describe what a user thinks and feels about an interface; how i
Entering a time is challenging because: a time is made up of hours, minutes and a period (AM or PM) there are many different formats for the same time like ‘12am’ ‘24:00’, 12.00am’, ‘12a.m.’ and ‘00’
Sure your feature passed the unit tests, and QA says it's good to go - but is it? To really be sure, here are four types of tests that are best to consider critical to every feature from the start. In
Showing the post excerpt on blog post lists Posted by on 15 October 2022 tagged Release notes I've been getting into the habit of writing excerpts for my weeknotes, so that they can be used in the soc
I’m putting the finishing touches on a new Academy workshop , Web Apps , that will be available in January 2023. For the workshop, we’ll be building a complete ecommerce platform for a fictional photo
Components have been an often requested feature in Eleventy. While I do consider it an unanswered question whether or not components are the best starting point for new developers, it’s hard to argue
SVG is the best format for icons on a website, there is no doubt about that . It allows you to have sharp icons no matter the screen pixel density, you can change the styles of the SVG on hover and yo
I knew CSS blend modes could create some cool effects, but even so, a CodePen I saw recently left me shocked at what they’re capable of. Apple-Inspired Pride Clock This CodePen , by Scott Kellum , rea
One of my readers asked me to write about indexedDB. It’s a big topic, so we’ll be looking at bits and pieces of it over the next few days. Let’s dig in! What is indexedDB? indexedDB is a type of data
Latest Articles Inside Calibre Product Web Performance Total Blocking Time: A Short and Sweet Guide for Happier Users Ben Schwarz September 15, 2022 Illustrated by Jeffrey Phillips Blinking takes appr
Over the years, I’ve seen a lot of the same myths about vanilla JS pop up over-and-over again. Today, I wanted to debunk a few them. Let’s dig in! Myth 1: Vanilla JS doesn’t scale Oh no? It powers eve
posted on March 20., 2021 The col element allows us to style columns in tables. In the past, I’ve used the colgroup and col elements to define max-widths for columns in tables when I didn’t want to re
Home All articles New CSS units that account for mobile viewports with dynamic toolbars. Nov 29, 2022 Bramus Twitter GitHub Homepage On this page Celebration This web feature is now available in all t
Written by on CSS Wizardry . Table of Contents I have long held very strong opinions about the Critical CSS pattern. In theory,in a perfect world, with all things being equal, it’s demonstrably a Good
A lot of chatter around the ol’ and elements lately! I saw Lea Verou recently tweet an observation about the element’s display behavior and that sorta splintered into more observat
Written by on CSS Wizardry . Table of Contents A thing I see developers do time and time again is make performance-facingchanges to their sites and apps, but mistakes in how they measure them oftenlea
Twitter, it’s not me—it’s you. In October of 2019, I gave a talk at Jamstack Conf San Francisco titled Owning your Content on Social Media . For this talk I built a social media platform: MySpaceBook.
I was recently designing an interface with a lot of rounded corners. I wanted to make sure the corners were consistent, so I created a --border-radius custom property and went wild rounding those corn
BEM. Like seemingly all techniques in the world of front-end development, writing CSS in a BEM format can be polarizing. But it is – at least in my Twitter bubble – one of the better-liked CSS methodo
Posted on: November 3, 2022 I started out creating these notes with the date in the url, because I thought it was an easy way to keep some overview of my notes. But it turned out to be rather annoying
This TIL is mainly a rehash of these two articles by Jacob and Andrew: Setting up a personal Fediverse ID / Mastodon instance - Jacob Kaplan-Moss The Fediverse, And Custom Domains - Andrew Godwin I de
Code review is super important. At times I have worried that I've spent too long reviewing and not enough time working fast and breaking things. Today I was reminded that time spent on code review is
For a long time, the holy grail of front-end developers was “pixel perfect designs.” Mobile destroyed that. The range of devices the things we build will be viewed and used on is huge. Things will nev
Exactly sixteen years ago on this day, I wrote about Twitter , a service I had been using for a few weeks. I documented how confusing yet compelling it was. Twitter grew and grew after that. But at so
A page title or document title describes a web page. It’s the content that is placed inside the element and appears in the browser window or tab. The title is important because: it’s the first
2022-11-21 #git This is a friendly reminder to keep leading slashes in mind in .gitignore files. The other day, I pulled down a project and couldn’t get the CSS to build because files were missing. It
Largest Contentful Paint (LCP) is a Core Web Vital metric that tracks how many seconds it takes for your page’s most data-intensive, above-the-fold element to load. These elements can be text, images,
Dear male ego, It’s not you - it’s me, after dealing with you and all the yous that came before you. I’m writing to tell you that I’m breaking up with you. I’ve done my best to keep you happy, but it’
Like many in the past week, I have been having a serious look at Mastodon as an alternative to Twitter. Mastodon is a social network that is distributed across many servers that have their own smaller
I’ve been contemplating a checkbox. The label for this checkbox reads: This is a bot account Let me back up… In what seems like decades ago, but was in fact just a few weeks, Elon Musk bought Twitter
Home All articles A look at some useful and creative ways to style a list. Aug 24, 2022 Michelle Barker Twitter Homepage On this page What comes to mind when you think of a list? The most obvious exam
I’m stoked about this time around. I haven’t been as excited in the past mostly because I was turned off by how much quieter it was than Twitter (read: it didn’t fuel the addition well enough). This t
Dear Reader, Since there’s a good chance that you -like me- are involved in web development and/or have a special interest in technology, I want you to play along and engage in a thought experiment fo
Review all heading-related accessibility results. Headings make up the structure of our web content. They improve readability, help users instantly know what the content is about, and even help with S
Nobody goes there anymore. It’s too crowded. Yogi Berra, et al Well, it looks like it's finally happened. As news sites began reporting that Elon Musk had finalised his purchase of Twitter, the fedive
After deciding to make my Twitter read-only last week, this week I worked on making Mastodon the social media that I actually want to read. I feel that it's going well so far and I'm spending less tim