
In my research, I've found there are four approaches to Object-Oriented Programming in JavaScript. Which methods should I use? Which one is "the best" way? Here I'll present my findings along with information that may help you decide which is right for you.

This is a written version of my talk from Jamstack Conf London 2019.

Responsive typography has been tried in the past with a slew of methods such as media queries and CSS calc().
PR
Pedro Rodriguez·September 25, 2020Frontend 
JavaScript has a (newish) feature called optional chaining. Say I have code like:
CCChris Coyier·September 24, 2020Frontend 
If we need to show documentation to the user directly in the WordPress editor, what is the best way to do it?

Here's an important detail here: It's free!

It’s true, web animation can be accessible! Sometimes it just takes a little extra effort to make sure that it is. There are strategic things we can do to

Super cool project from Bennett Feely! It makes any web type into 3D lettering with a mouseover effect that moves the 3D objects in space. It's reminiscent of

As you probably know, a single monolithic JavaScript bundle — once a best practice — is no longer the way to go for modern web applications. Research has

A straightforward post with some perf data from Tomas Pustelnik. It's a good reminder that CSS is a crucial part of thinking web performance, and for a huge

So, you know how many emoji have different skin tones? Emoji skin tones are extremely popular, especially over text and on social media. The raised black fist

There is a bit of an irony with Jamstack.

In 2018, Rachel Nabors made the point that browser diversity is similar to biological ecosystem diversity. There are literal advantages to more diversity.
CCChris Coyier·September 15, 2020Frontend 
A very digestable guide from Geri Reid on building forms. Not the code, but the design and UX principles that should guide the code.

The Media Queries Level 4 Interaction Media Features — pointer, hover, any-pointer and any-hover — are meant to allow sites to implement different styles and functionality (either CSS-specific interactivity like :hover, or JavaScript behaviors, when queried using window.matchMedia), depending on the particular characteristics of a user’s input device.
PH
Patrick H. Lauke·September 14, 2020Frontend 
Changing specific characters can be a challenge in CSS. In this article, we'll explore several ways to modify specific letters using CSS and JavaScript.
BC
Bret Cameron·September 10, 2020Frontend 
Last time there was a little flurry of activity around the concept of "View Source," I did get the sense that not everyone was on the same page about what

I don’t typically work with UI libraries because they can be cumbersome and hard to override, which can contribute to a bloated. However, Ant Design has

Jetpack 8.9 shipped on September 1 and it shows why the plugin continues to be the premier way to take a WordPress site from good to holy smokes! Several new

Everybody is talking about AVIF today because of Jake's blog post. As the say, I was today years old when I learned AVIF was a thing. But thanks to web

Many development environments require running things in a terminal window. npm run start, or whatever. I know my biggest project requires me to be running a
CCChris Coyier·September 8, 2020Systems 
What’s the first thing that comes to mind when you think of media queries? Maybe something in a CSS file that looks like this:

This is a neat page that compares a ton of different libraries with web components. One of the things I learned after posting "A Bit on Web Components
CCChris Coyier·September 7, 2020Frontend 
We're living through a weird era where there are tons of JavaScript libraries that were meant to be used as <script> tags that expose available globals.
CCChris Coyier·September 7, 2020Frontend 
I go into all this in The "Inside" Problem. The gist: you want an edge-to-edge container, but the content inside to have a limited width. I think there is

Beyond using media queries and modern CSS layouts, like flexbox and grid, to create responsive websites, there are certain overlooked things we can do well to
DA
David Atanda·September 4, 2020Frontend 
Whenever I think of stroked text on the web I think: nope.
CCChris Coyier·September 3, 2020Frontend 
There are different ways to work with icons, but the best solution always includes SVG, whether it’s implemented inline or linked up as an image file. That’s
MB
Mariana Beldi·September 3, 2020Frontend 
The Jamstack, a modern approach to building websites and apps, delivers better performance, higher security, lower cost of scaling, and a better developer
GG
Geoff Graham·September 3, 2020Security 
Fun fact: it’s possible to create responsive components without any media queries at all. Certainly, if we had container queries, those would be very useful
GC
Geoffrey Crofte·September 1, 2020Frontend 
As a web developer, there is an interesting bit of back and forth that always comes along with setting up a new application. Even using a full stack web

The best way to learn is to build. Let’s learn about this hot new buzzword, Jamstack, by building a site with React, Netlify (Serverless) Functions, and

Shawn Wang thinks there are deeper, perhaps more uncomfortable, places to go with developer experience (DX) beyond the surface-level stuff that we recently

I'd say "website" fits better than "mobile app" but I like this framing from Max Lynch:

The video game Doom famously would flash the screen red when you were hit. Chris Johnson not only took that idea, but incorporated a bunch of the UI from Doom

Jim Nielsen:

WordPress has plugins. jQuery has plugins. Gatsby, Eleventy, and Vue do, too.

Here’s something I had to get my head wrapped around when I started building Jamstack sites. There are these different stages your site goes through where you

Update: The leading-trim property was renamed to text-box-trim and is starting to gain browser support. You can read more about text-box-trim (as well as the

I was playing with GitHub Actions the other day. Such a nice tool! Short story: you can have it run code for you, like run your build processes, tests, and

Sarah Higley does accessibility work and finds that "tables and grids are over-represented in accessibility bugs."

I just stumbled across Plyr from Sam Potts, a JavaScript library for styled video players. What struck me about it is that you can list YouTube videos as the

You know we do video screencasts, right? It's not, like, super regular, but I have done them for a long time, still like doing them, and plan to keep doing

Hey gang! I've been fortunate enough to be a guest in a variety of different here, so I thought it was time for another Chronicle post. You know, those

I was browsing the Svelte docs on my iPhone and came across a blaring UI bug. The notch in the REPL knob was totally out of whack. I’m always looking to
BSBenjamin Schachter·August 14, 2020Frontend 
How do you know a page (or any element on that page) scrolls? Well, if it has a scrollbar, that's a pretty good indication. You might still have to scrapple

Pretty neat little website from Joan Perals, inspired by stuff like Lynn's A Single Div. With multiple hard-stop background-image gradients, you don't need

You can make a typical CSS border dashed or dotted. For example:

When using percentage values in CSS like this...

Every website that’s made me oooo and aaahhh lately has been of a special kind; they’re written and designed like essays. There’s an argument, a playfulness

Tomáš Janoušek:

Let's say you have a double heading situation going on. A little one on top of a big one. It comes up, I dunno, a billion times a day, I'd say. What HTML do

Unless you’ve been hiding under a rock the last several years (and let’s face it, hiding under a rock sometimes feels like the right thing to do), you’ve

From Nicholas Zakas' newsletter, on how he avoids JavaScript fatigue:

Sir Tim Berners-Lee is fascinated with information. It has been his life’s work. For over four decades, he has sought to understand how it is mapped and

The warping is certainly the cool part here. Some fancy math literally transforms the path data to do the warping. But the UX detail work here is just as

Browser DevTools are indispensable for us front end developers. In this article, we'll take a look at the Computed tab, a small corner of the DevTools panel
JO
Jemimah Omodior·August 5, 2020Frontend 
Animation is one of the trickier things to get right with React. In this post, I’ll try to provide the introduction to react-spring I wish I had when I first

About a year ago, Automattic bought up Zero BS CRM. The thinking at the time was that it could be rebranded into the Jetpack suite and, well, that happened.

Lea Verou digging up the CSS trickery classic and applying it to clip the backgrounds of some code blocks: