Statoscope: A Course of Intensive Therapy for Your Bundle

Statoscope is an instrument that analyses your webpack-bundles. Created by Sergey Melukov, it started out as an experimental version in late 2016, which has now become a full-fledged toolkit for viewing, analyzing, and validating webpack-bundles. | Continue reading


@smashingmagazine.com | 2 years ago

Designing Better Links for Websites and Emails

There are so many websites out there that have not considered the overall usability of their visually impaired users. When it comes to designing better links and sending better emails, Slava Shestopalov has a few tips on how to improve your website’s experience while accessibilit … | Continue reading


@smashingmagazine.com | 2 years ago

Improving Core Web Vitals, a Smashing Magazine Case Study

How to improve Core Web Vitals, a Smashing Magazine case study on how we detected and fixed the bottlenecks, and how we ended up with green scores, all the way. | Continue reading


@smashingmagazine.com | 2 years ago

Advent Calendars for Web Designers and Developers (December 2021 Edition)

Are you ready for the countdown to Christmas? From [festive](https://www.smashingmagazine.com/2016/12/freebie-christmas-advent-icon-set-25-icons-ai-eps-svg-png-pdf/) [icon](https://www.smashingmagazine.com/2015/12/freebie-christmas-icons-illustrations/) [sets](https://www.smashin … | Continue reading


@smashingmagazine.com | 2 years ago

How to Protect Your API Key in Production with Next.js API Route

There’s a great challenge that comes with building Jamstack applications on the web. In this article, Caleb Olojo explains how you can use Next.js to bootstrap your app safely. | Continue reading


@smashingmagazine.com | 2 years ago

A Guide to Modern CSS Colors with RGB, HSL, HWB, Lab and LCH

In this article, we’ll take a look at the best ways to handle colors in CSS today, some tips for using them in a design system, and what we can expect from our colors in the not-too-distant future. | Continue reading


@smashingmagazine.com | 3 years ago

Powerful Terminal and Command-Line (CLI) Tools for Modern Web Development

What’s your favorite command-line tool? In this post, Louis Lazaris shares a collection of relevant command-line apps and utilities that he has personally come across in the past few years. If there’s a useful one that hasn’t been mentioned and one you use regularly, please do sh … | Continue reading


@smashingmagazine.com | 3 years ago

Hydrogen: A React Framework for Dynamic, Contextual and Personalized E-Commerce

A great commerce experience is not a Lighthouse score or a set of Core Web Vitals figures (although both are important inputs), but it’s also a trilemma that carefully balances competing needs of delivering a great customer experience, dynamic storefront capabilities and long-ter … | Continue reading


@smashingmagazine.com | 3 years ago

What’s New with DevTools: Cross-Browser Edition

Learn what’s new with developer tools in Firefox, Edge, Chrome and Safari. Discover new and powerful features that will help you be more comfortable and productive when testing and debugging across browsers. | Continue reading


@smashingmagazine.com | 3 years ago

Respecting Users’ Motion Preferences

The `prefers-reduced-motion` media query has excellent support in all modern browsers going back a couple of years. In this article, Michelle Barker explains why there’s no reason not to use it today to make your sites more accessible. | Continue reading


@smashingmagazine.com | 3 years ago

Local Testing a Serverless API (API Gateway and Lambda)

Have you ever struggled with testing cloud services locally? Specifically, have you ever struggled with locally testing an API that uses API Gateway and Lambda, with the Serverless framework, on AWS? In this article, Tom Hudson shares a quick overview of how easy it is to quickly … | Continue reading


@smashingmagazine.com | 3 years ago

The Autofill Dark Pattern

A “dark pattern” is a deceptive UX pattern that tricks users into doing things they may not really want to do. In this article, Alvaro Montoro does a little experiment to find out how much privacy is taken away from users across three different browsers. | Continue reading


@smashingmagazine.com | 3 years ago

Developer Decisions For Building Flexible Components

In this article, we’ll walk through the process of taking a seemingly simple design for a text-and-media component and deciding how best to translate it into code, keeping in mind the needs of both users and content authors. | Continue reading


@smashingmagazine.com | 3 years ago

Show HN: How to Build an Expandable Accessible Gallery

In this article, we’ll be looking at how to set up a gallery that is expandable as well as accessible with a few tips and tricks along the way. Let’s get started! | Continue reading


@smashingmagazine.com | 3 years ago

Using Modern Image Formats: AVIF and WebP

In this article, we’ll highlight how modern image formats (AVIF or WebP) can improve compression by up to 50% and deliver better quality per-byte while still looking visually appealing. We’ll compare what’s possible at high-quality, low-quality and file-size targets. | Continue reading


@smashingmagazine.com | 3 years ago

Interactive Learning Tools for Front-End Developers

Interactive coding tools to help you learn CSS, JavaScript, SQL, React, Vim, regular expressions and Jamstack. | Continue reading


@smashingmagazine.com | 3 years ago

Pushing Back Against Privacy Infringement on the Web

The Web is still wrestling with issues we take for granted offline, privacy chief among them. These are steps The New York Times took to protect users’ data, and how you can too. | Continue reading


@smashingmagazine.com | 3 years ago

Making Sense of Type Classification

Everyone knows their serifs and sans, slabs and scripts, but most classifications go much deeper than that. Type classification, while helpful, is often convoluted, confusing and even controversial. | Continue reading


@smashingmagazine.com | 3 years ago

HTTP/3 From A To Z: Core Concepts (Part 1)

What exactly is HTTP/3? Why was it needed so soon after HTTP/2 (which was only finalized in 2015)? How can or should you use it? And especially, how does this improve web performance? Let’s find out. | Continue reading


@smashingmagazine.com | 3 years ago

How to Build Resilient JavaScript UIs

Resilience is intrinsic to the web and therefore us, web developers. This article explores how graceful degradation, defensive coding, observability, and a healthy attitude towards failures better equips us before, during, and after an error occurs. | Continue reading


@smashingmagazine.com | 3 years ago

Gatsby Serverless Functions and the International Space Station

Gatsby recently announced the launch of “functions”. In this article, Paul Scanlon explains how to get the current location of the International Space Station (ISS) as it orbits the Earth in real-time using [Gatsby Functions](https://www.gatsbyjs.com/docs/reference/functions/) an … | Continue reading


@smashingmagazine.com | 3 years ago

Your Image Is Probably Not Decorative

Image placement on the modern web is highly intentional, helping to communicate the overall purpose of a page or view. This means that nearly every image you declare needs to have an alternate description. | Continue reading


@smashingmagazine.com | 3 years ago

The State of Web Workers in 2021

The web is single-threaded. This makes it increasingly hard to write smooth and responsive apps. Workers have a bad rep, but can be an important and useful tool in any web developer's toolbelt for these kinds of problems. Let’s get up to speed on Workers on the Web! | Continue reading


@smashingmagazine.com | 3 years ago

Meet `:has`, A Native CSS Parent Selector

What makes relational selector one of the most requested features and how are we, as developers, working around not having it? In this article, we’re going to check the early spec of the :has selector, and see how it should improve the CSS workflow once it’s released. | Continue reading


@smashingmagazine.com | 3 years ago

Making a Strong Case for Accessibility

Accessibility is often overlooked or bolted on to the end of a project. Let’s figure out how to implement and advocate for accessibility from the inception of a project to the release or handoff and beyond. | Continue reading


@smashingmagazine.com | 3 years ago

When CSS Isn’t Enough: JavaScript Requirements for Accessible Components

Spoiler alert: tooltips, modals, tabs, carousels, and dropdown menus are some of the user interface components that require more than CSS. To ensure accessibility of your interface, JavaScript is a necessary addition to accomplish focus management, respond to keyboard events, and … | Continue reading


@smashingmagazine.com | 3 years ago

An Alternative Voice UI to Voice Assistants

Voice assistants are currently the most popular use case for voice user interfaces. However, due to the bad feedback loop resulting from voice assistants can only solve simple user tasks such as setting an alarm or playing music. In order for voice user interfaces to really break … | Continue reading


@smashingmagazine.com | 3 years ago

Tree-Shaking: A Reference Guide

“Tree-shaking” is a must-have performance optimization when bundling JavaScript. In this article, we dive deeper on how exactly it works and how specs and practice intertwine to make bundles leaner and more performant. Plus, you’ll get a tree-shaking checklist to use for your pro … | Continue reading


@smashingmagazine.com | 3 years ago

A Guide to Undoing Mistakes with Git

No matter how experienced you are, mistakes are an inevitable part of software development. But we can learn to repair them! And this is what we'll be looking at in this two-part series: how to undo mistakes using Git. | Continue reading


@smashingmagazine.com | 3 years ago

The Evolution of Jamstack

Web-oriented databases, frameworks like Nuxt and Next.js, and even frameworkless approaches are evolving the Jamstack, but the core principles are more powerful than ever. | Continue reading


@smashingmagazine.com | 3 years ago

The Humble Element and Core Web Vitals

Images have also been a key part of the web. They communicate ideas instantly, but they are also a lot heavier than text to load. This means that it’s essential to get loading and displaying them right, if you want to give your users a fantastic first impression. An excerpt from … | Continue reading


@smashingmagazine.com | 3 years ago

Making GraphQL Work in WordPress

Let’s explore the plugins providing GraphQL servers to WordPress. When should we use WPGraphQL, and when the GraphQL API for WordPress? Is there some advantage of one over the other, or some particular task that is easier to accomplish with one of them? In this article, we will f … | Continue reading


@smashingmagazine.com | 3 years ago

Incremental Static Regeneration with Next.js

Incremental Static Regeneration (ISR) is a new evolution of the Jamstack, allowing you to update static content instantly without needing a full rebuild of your site. The hybrid approach of Next.js allows you to use ISR for e-commerce, marketing pages, blog posts, ad-backed media … | Continue reading


@smashingmagazine.com | 3 years ago

An In-Depth Guide to Measuring Core Web Vitals

How are Core Web Vitals measured? How do you know your fixes have had the desired effect and when will you see the results in Google Search Console? Let’s figure it out. | Continue reading


@smashingmagazine.com | 3 years ago

Where the World Wide Web Shines

Reliable accessible front-end components: :focus styles, content sliders, dark mode, data charts, date pickers, form styles, navigation menu, modals, radio buttons, "skip" links, SVGs, tabs, tables, toggles and tooltips. | Continue reading


@smashingmagazine.com | 3 years ago

Getting the Most Out of Git

In this article, Tobias explores some of the less known but very useful features in Git. You’ll learn how to recover deleted commits, clean up your commit history, use submodules to manage third-party code and compose commits with precision — along with a friendly Git cheat sheet … | Continue reading


@smashingmagazine.com | 3 years ago

Useful Things You Can Do with CSS Today

The present and future of CSS are very bright indeed and if you take a pragmatic, progressive approach to your CSS, then things will continue to get better and better on your projects, too. | Continue reading


@smashingmagazine.com | 3 years ago

EventSource, a lightweight alternative to WebSocket (2018)

What is the best way to deliver real-time updates to your web application in an easy and structured way? Is WebSockets still relevant in the world of HTTP/2? Let’s compare the architectural impact of three different mechanisms. | Continue reading


@smashingmagazine.com | 3 years ago

We Improved SmashingMag Performance

In this article, we’ll take a close look at some of the changes we made on this very site — running on JAMStack with React — to optimize the web performance and improve the Core Web Vitals metrics. With some of the mistakes we’ve made, and some of the unexpected chang … | Continue reading


@smashingmagazine.com | 3 years ago

Copy If You Can: Improving Your UI Design Skills with Copywork

There’s a technique for improving one’s user interface design skills that is the most efficient way I know of expanding one’s visual vocabulary but that I’ve rarely heard mentioned by digital designers. I’m talking about copywork. Copywork is a technique that writers and painters … | Continue reading


@smashingmagazine.com | 3 years ago

Front-End Performance Checklist 2021

Let’s make 2021… fast! An annual front-end performance checklist (available as PDF, Apple Pages, MS Word), with everything you need to know to create fast experiences on the web today, from metrics to tooling and CSS/JavaScript techniques. | Continue reading


@smashingmagazine.com | 3 years ago

A Practical Introduction to Dependency Injection

This article will provide a practical introduction to Dependency Injection in a manner that immediately permits you to realize its many benefits without being hampered down by theory. | Continue reading


@smashingmagazine.com | 3 years ago

Reducing Cognitive Overload for a Better User Experience – Everyone Should Read

The best user experience is the one the user doesn’t notice. It appears smooth and simple on the surface, but hundreds of crucial design decisions have been made to guide, entertain and prevent trouble. | Continue reading


@smashingmagazine.com | 4 years ago

Show HN: TypeScript in 50 Lessons (Book)

In TypeScript in 50 Lessons, Stefan Baumgartner breaks down the quirks of TypeScript into short, manageable lessons. You’ll make sense of TypeScript concepts, tooling for TypeScript and how to get most out of it without learning a new language. Everything TypeScript explained, fr … | Continue reading


@smashingmagazine.com | 4 years ago

Developing for the Semantic Web

The dream of a machine-readable Internet is as old as the Internet itself, but only in recent years has it really seemed possible. As major websites take strides towards data-fying their content, now’s the perfect time to jump on the bandwagon. | Continue reading


@smashingmagazine.com | 4 years ago

How to Use Face Motion to Interact with Typography

In this article, we will cover how to combine Machine Learning, variable fonts, and CSS grids to create layouts that respond to the proximity, the inclination, and the number of the users’ faces. | Continue reading


@smashingmagazine.com | 4 years ago

Google Analytics Helps Web Developers in UI/UX Design

In this article, we’ll look at 5 features in Google Analytics that can help web developers and designers in making a better user experience on their website. | Continue reading


@smashingmagazine.com | 4 years ago

Will PWAs Replace Native Mobile Apps?

When it comes to the mobile user experience, are mobile websites all that bad? You hear so much about the benefits of building a dedicated native app, but that can become an incredibly costly gamble if users don’t take to it. That said, is the progressive web app the best choice? … | Continue reading


@smashingmagazine.com | 4 years ago