Home/Smashing Magazine
Source

Smashing Magazine

1,379 articles from Smashing Magazine.

Design & UX — Making A Strong Case For Accessibility — Smashing Magazine

Making A Strong Case For Accessibility — Smashing Magazine

Accessibility is often overlooked or bolted on to the end of a project from the experiences in Todd’s career in web development and design. The case for accessibility is something we as people who create and build things for the web should be implementing and advocating for from the inception of a project to the release or handoff and beyond.

TLTodd LibbyTodd Libby·July 9, 2021Design & UX
Performance — Tools And Practices To Speed Up The Vue.js Development Process — Smashing Magazine

Tools And Practices To Speed Up The Vue.js Development Process — Smashing Magazine

Even though Vue.js claims to have an approachable minimalist framework that can be incrementally adaptable, it can be a little bit overwhelming when starting as a Vue.js newbie. In this tutorial, Uma Victor will take a look at some tips and tools to help you become a better Vue developer. You will start with some helpful insights on organizing your projects for scale and other great points to note

UVUma VictorUma Victor·July 8, 2021Performance
Design & UX — An Introduction To Figma Interactive Components — Smashing Magazine

An Introduction To Figma Interactive Components — Smashing Magazine

In this article, Emiliano explains why Figma Interactive Components (now in beta) will improve how we create prototypes. The new feature reduces the time and effort needed to create interactions by bringing down the cost of design exploration. There’s no need for previous Figma knowledge and experience — all you’ll need is a free Figma account if you’d like to try it out for yourself.

ECEmiliano CiceroEmiliano Cicero·July 7, 2021Design & UX
Engineering — How To Choose A Headless CMS — Smashing Magazine

How To Choose A Headless CMS — Smashing Magazine

There is an array of Headless CMSes out there. In this article, we delve into headless CMS features to satisfy your content editors, marketers and yourself as a developer. For the experience headless practitioner, this could be a checklist to see what’s new out there. For those starting out on their headless journey, this could be a guide on what to look for.

ETEmmanuel TisseraEmmanuel Tissera·July 6, 2021Engineering
Frontend — Using HSL Colors In CSS — Smashing Magazine

Using HSL Colors In CSS — Smashing Magazine

HSL colors are very powerful when we use them the right way. They can save us time and effort and even help us to explore options for how to apply color to design. In this article, Ahmad Shadeed explains what HSL is, how to use it, and shares some of the useful use-cases and examples that you can use right away in your current projects.

ASAhmad ShadeedAhmad Shadeed·July 5, 2021Frontend
Architecture — Email Testing Flow As It Should Be — Smashing Magazine

Email Testing Flow As It Should Be — Smashing Magazine

Email sending functionality is an integral part of every digital product that involves communication with its users (read: any online service). With so many tools and approaches, email still has quite a few pain points, both for developers and email marketers. Email is difficult because it has too many aspects to set and a few instances with no common rules to follow.

AZAndriy ZapisotskyiAndriy Zapisotskyi·July 2, 2021Architecture
Architecture — It’s A (Front-End Testing) Trap! Six Common Testing Pitfalls And How To Solve Them — Smashing Magazine

It’s A (Front-End Testing) Trap! Six Common Testing Pitfalls And How To Solve Them — Smashing Magazine

When writing front-end tests, you’ll find a lot of pitfalls along the way. In sum, they can lead to lousy maintainability, slow execution time, and — in the worst case — tests you cannot trust. But it doesn’t have to be that way. In this article, I will talk about common mistakes developers make, at least in my experience, and, of course, how to avoid them. Testing doesn’t need to be painful, afte

RSRamona SchweringRamona Schwering·July 1, 2021Architecture
Performance — Breaking Down Bulky Builds With Netlify And Next.js — Smashing Magazine

Breaking Down Bulky Builds With Netlify And Next.js — Smashing Magazine

Static Generation is great for performance — until the app gets too big and build-times go through the roof. Today, we’ll have a look at how Netlify’s fresh On-Demand Builders can fix that. Additionally, we pair it up with Next.js’ Incremental Static Regeneration for the best user and developer experience. And, of course, benchmark those results!

AFAtila FassinaAtila Fassina·June 29, 2021Performance
Frontend — Creating Custom Emmet Snippets In VS Code — Smashing Magazine

Creating Custom Emmet Snippets In VS Code — Smashing Magazine

In this article, Manuel explains why Emmet is one of his favorite productivity tools for writing HTML and CSS, and how you can create custom Emmet snippets in Visual Studio Code to help you improve your front-end workflows even more. It takes some time to create these snippets, but it’s worth the effort because you can customize Emmet to your personal preferences, automate repetitive tasks and sav

MManuelmatuzovic·June 28, 2021Frontend
Frontend — Creating A Multi-Author Blog With Next.js — Smashing Magazine

Creating A Multi-Author Blog With Next.js — Smashing Magazine

This article explains how we can connect different types of content in a Next.js application. With this technique, we can add any kind of one-to-one, one-to-many, or even many-to-many relationship to our projects. Today, Dom Habersack is going to build a blog with Next.js that supports two or more authors. You will attribute each post to an author and show their name and picture with their posts.

DDomhabersackDomhabersack·June 25, 2021Frontend
Design & UX — How To Run A UX Audit For A Major EdTech Platform (Case Study) — Smashing Magazine

How To Run A UX Audit For A Major EdTech Platform (Case Study) — Smashing Magazine

A UX audit is a simple and efficient way to check whether design elements are performing their function. It’s also a good way to look at an existing design from a fresh perspective. This article is a case study of how a UX audit affects a UI. It explains how a famous educational platform can be analyzed edX against Jakob Nielsen’s usability guidelines. To get started, Mark Lankmiller shares all of

MLMark LankmilierMark Lankmilier·June 25, 2021Design & UX
Design & UX — The Rise Of Design Thinking As A Problem Solving Strategy — Smashing Magazine

The Rise Of Design Thinking As A Problem Solving Strategy — Smashing Magazine

In the dynamic and unpredictable environments in which we work, even the most carefully crafted solutions can have a short shelf life. When we accept that our work is impermanent and our problem-solving abilities are limited, our goal can shift from delivering full solutions to developing tools that empower our users to adaptively design for themselves.

JSJosh SingerJosh Singer·June 24, 2021Design & UX
Frontend — Smashing Online Workshops (July-October 2021) — Smashing Magazine

Smashing Online Workshops (July-October 2021) — Smashing Magazine

What’s the state of HTML Email? How do we build and establish a successful design system? Frontend and design are remarkably complex these days. That’s why we invite kind, smart folks from the community to run [online workshops](https://smashingconf.com/online-workshops/) for all of us to learn together. And we have new ones coming up, and we’d like to kindly welcome you to join in.

ILIris LjesnjaninIris Ljesnjanin·June 23, 2021Frontend
Languages — Automating Screen Reader Testing On macOS Using Auto VO — Smashing Magazine

Automating Screen Reader Testing On macOS Using Auto VO — Smashing Magazine

Automated testing is an important part of any software project, including testing for accessibility. There are already tools for linting and integration testing accessibility, but what about end-to-end testing with real assistive technology? Since I hadn’t seen this before, I set out to build Auto VO, a driver for the VoiceOver screen reader.

CCCameron CundiffCameron Cundiff·June 23, 2021Languages
Frontend — Image To Text Conversion With React And Tesseract.js (OCR) — Smashing Magazine

Image To Text Conversion With React And Tesseract.js (OCR) — Smashing Magazine

Do you have to process data manually because it is served through images or scanned documents? An image-to-text conversion makes it possible to extract text from images to automate the processing of texts on images, videos, and scanned documents. In this article, we look at how to convert an image to text with React and Tesseract.js(OCR), preprocess images, and deal with the limitations of Tessera

AOAyobami OgundiranAyobami Ogundiran·June 21, 2021Frontend
Design & UX — An Alternative Voice UI To Voice Assistants — Smashing Magazine

An Alternative Voice UI To Voice Assistants — Smashing Magazine

Voice assistants are currently the most popular use case for voice user interfaces. However, because voice assistants give feedback by talking to the user, assistants can only solve simple user tasks such as setting an alarm or playing music. In order for voice user interfaces to really break through, feedback to the user must be visual instead of auditive.

OPOttomatias PeuraOttomatias Peura·June 18, 2021Design & UX
Frontend — Client-Side Routing In Next.js — Smashing Magazine

Client-Side Routing In Next.js — Smashing Magazine

Next.js has a file-based routing system in which each page automatically becomes a route based on its file name. Each page is a default exported React component from the pages directory that can be used to define the most common route patterns. This article will guide you through almost everything you need to know about Routing in Next.js and point you in the direction of related topics and concep

AAAdebiyi AdedotunAdebiyi Adedotun·June 18, 2021Frontend
Engineering — Your Image Is Probably Not Decorative — Smashing Magazine

Your Image Is Probably Not Decorative — Smashing Magazine

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. Nulling an image indicates that it is for decorative purposes only. In this context, decorative means that the image does not visually communicate information that is important to understanding

EBEric BaileyEric Bailey·June 17, 2021Engineering
Frontend — A Complete Guide To Accessibility Tooling — Smashing Magazine

A Complete Guide To Accessibility Tooling — Smashing Magazine

In a new short series of posts, we highlight some of the useful tools and techniques for developers and designers. Recently we’ve covered HTML Emails and SVG Generators. This time we look into different kinds of tools to help you streamline your accessibility testing process. Don’t miss the next one.

NCNic ChanNic Chan·June 16, 2021Frontend
Architecture — Spinning Up Multiple WordPress Sites Locally With DevKinsta — Smashing Magazine

Spinning Up Multiple WordPress Sites Locally With DevKinsta — Smashing Magazine

When developing themes and plugins for WordPress, we need to test them in different environments. How can we create multiple testing sites on our computer, quickly and easily, without having to become a sysadmin? If our themes and plugins contain custom blocks, testing them for all different versions is imperative. At the very minimum, we need to worry about two versions of Gutenberg: the one ship

LLeonardolosovizLeonardolosoviz·June 15, 2021Architecture
Design & UX — Web Design Done Well: Making Use Of Audio — Smashing Magazine

Web Design Done Well: Making Use Of Audio — Smashing Magazine

Design often revolves around visuals, but the other senses deserve love too. In this article, we tune in to audio features that are making sites sing. Most of us have had the misfortune of crossing bad examples (auto-playing videos being a particularly egregious example) but audio can give web experiences a whole new dimension when applied well. What follows are some astounding sounds from the Wor

FOFrederick O BrienFrederick O Brien·June 11, 2021Design & UX
Performance — Useful Front-End Boilerplates And Starter Kits — Smashing Magazine

Useful Front-End Boilerplates And Starter Kits — Smashing Magazine

We don’t need to write everything from scratch every single time. With boilerplates and starter kits, we can set up our projects faster, and get to work immediately. We’ve also just recently covered CSS auditing tools, CSS generators, accessible front-end components and VS code extensions — you might find them useful, too. This collection is by no means complete, but rather a selection of things t

CMCosima MielkeCosima Mielke·June 10, 2021Performance
Performance — From AVIF to WebP: A New Smashing Book By Addy Osmani — Smashing Magazine

From AVIF to WebP: A New Smashing Book By Addy Osmani — Smashing Magazine

It’s here! For the last year, we’ve been working with Addy Osmani on a new Smashing Book all around image optimization. And now it’s here. Meet “Image Optimization”, our deep-dive guide to understand how to deliver high-quality images on the web fast. 528 pages. From formats and compression to delivery and maintenance. Get the book right away!

VFVitaly FriedmanVitaly Friedman·June 8, 2021Performance
Frontend — How To Build A Geocoding App In Vue.js Using Mapbox — Smashing Magazine

How To Build A Geocoding App In Vue.js Using Mapbox — Smashing Magazine

In this guide, Prince Chukwudire will show you how to build a simple geocoding app from scratch, using Vue.js and Mapbox. He’ll cover the process from building the front-end scaffolding up to building a geocoder to handle forward geocoding and reverse geocoding. To get the most out of this guide, you’ll need a basic understanding of JavaScript and Vue.js and how to make API calls.

PCPrince ChukwudirePrince Chukwudire·June 7, 2021Frontend
Frontend — Getting Started With Webpack — Smashing Magazine

Getting Started With Webpack — Smashing Magazine

Modern browsers provide good support for JavaScript modules, but module bundlers such as webpack stay a critical part of the JavaScript toolchain. Module bundlers such as webpack, Parcel, Rollup and also Google’s Closure Compiler were written to create optimized bundles of your code for your end-user’s browser to download and execute. In this article, Nwani Victory will take a deep dive into what

NVNwani VictoryNwani Victory·June 4, 2021Frontend
Frontend — Managing Shared State In Vue 3 — Smashing Magazine

Managing Shared State In Vue 3 — Smashing Magazine

Writing large-scale Vue applications can be a challenge. Using shared state in your Vue 3 applications can be a solution to reducing this complexity. There are a number common solutions to solving state. In this article, I will dive into the pros and cons of approaches like factories, shared objects, and using Vuex. I’ll also show you what is coming in Vuex 5 that might change how we all use share

SWShawn WildermuthShawn Wildermuth·June 3, 2021Frontend
Performance — How To Fix Cumulative Layout Shift (CLS) Issues — Smashing Magazine

How To Fix Cumulative Layout Shift (CLS) Issues — Smashing Magazine

Google’s Core Web Vitals initiative has taken the SEO and Web Performance worlds by storm and many sites are busy optimizing their Page Experience to maximize the ranking factor. The Cumulative Layout Shift metric is causing trouble to a lot of sites, so let’s have a look at ways of addressing any issues for that metric.

BPBarry PollardBarry Pollard·June 2, 2021Performance
Performance — Improving The Performance Of An Online Store (Case Study) — Smashing Magazine

Improving The Performance Of An Online Store (Case Study) — Smashing Magazine

Getting a good performance score from Google is hard for any website — but doing so for an online store is even harder. We achieved green scores — even several for mobile. Every front-end developer is chasing the same holy grail of performance: green scores in Google Page Speed. In this article, Jennifer Brehm is going to highlight some of the work she did and how her team was able to achieve thei

JBJennifer BrehmJennifer Brehm·June 2, 2021Performance
Frontend — Useful VS Code Extensions For Front-End Developers — Smashing Magazine

Useful VS Code Extensions For Front-End Developers — Smashing Magazine

Meet useful Visual Studio Code extensions for web developers: little helpers to minimize slow-downs and frustrations, and boost developer’s workflow along the way. Recently, we’ve also covered CSS auditing tools, CSS generators and accessible front-end components — you might find them useful, too. In this post, we look into useful VS Code extensions for front-end development, from fine productivit

CMCosima MielkeCosima Mielke·May 27, 2021Frontend
Engineering — A Guide To Undoing Mistakes With Git (Part 2) — Smashing Magazine

A Guide To Undoing Mistakes With Git (Part 2) — Smashing Magazine

Mistakes. These cruel villains do not even stop at the beautiful world of software development. But although we cannot avoid making mistakes, we can learn to undo them! In this article, Tobias Günther will show you the right tools for your daily work with Git. You might want to check the first article of the series as well.

TGTobias GuentherTobias Guenther·May 25, 2021Engineering
Performance — A New Way To Reduce Font Loading Impact: CSS Font Descriptors — Smashing Magazine

A New Way To Reduce Font Loading Impact: CSS Font Descriptors — Smashing Magazine

Web fonts are often terrible for web performance and none of the font loading strategies are particularly effective to address that. If you want to use web fonts your choices are basically Flash of Invisible Text (aka FOIT) or Flash of Unstyled Text (FOUT). Neither option has really “won out” because neither is really satisfactory, to be honest. Upcoming font options may finally deliver on the pro

BPBarry PollardBarry Pollard·May 25, 2021Performance
Systems — Building A Rich Text Editor (WYSIWYG) — Smashing Magazine

Building A Rich Text Editor (WYSIWYG) — Smashing Magazine

In this article, Shalabh Vyas will show you how to build a WYSIWYG/Rich-Text Editor that supports rich text, images, links and some nuanced features from word processing apps. We will use SlateJS to build the shell of the editor and then add a toolbar and custom configurations. The code for the application is available on GitHub for reference.

SVShalabh VyasShalabh Vyas·May 21, 2021Systems
Design & UX — Boost Your Skills Online: Smashing Workshops On Front-End And Design — Smashing Magazine

Boost Your Skills Online: Smashing Workshops On Front-End And Design — Smashing Magazine

Our workshops bring in knowledgeable, kind folks from the community to explore real-life solutions to real-life problems, live, with you. Front-end and design are remarkably complex these days. That’s why we invite kind, smart folks from the community to run online workshops for all of us to learn together. And we have new ones coming up, and we’d like to kindly welcome you to join in.

ILIris LjesnjaninIris Ljesnjanin·May 20, 2021Design & UX
Security — How To Implement Authentication In Next.js With Auth0 — Smashing Magazine

How To Implement Authentication In Next.js With Auth0 — Smashing Magazine

At the moment of adding authentication and authorization to our web applications, there are some things that we should evaluate, e.g. whether we need to create our own security platform or whether we can rely on an existing third-party service. Let’s see how we can implement authentication and authorization in Next.js apps, with Auth0.

FGFacundo GiulianiFacundo Giuliani·May 20, 2021Security
Engineering — User-Friendly Mega-Dropdowns: When Hover Menus Fail — Smashing Magazine

User-Friendly Mega-Dropdowns: When Hover Menus Fail — Smashing Magazine

With such a complex multi-level navigation, showing the breadth of options requires quite a bit of space. Think of large eCommerce retailers and large corporate sites, catering to many audiences and having plenty of entry points. Do we need mega-dropdown hover menus in 2021? Probably not. Let’s explore things to keep in mind when designing and building a mega-dropdown, alternatives to hover menus

VFVitaly FriedmanVitaly Friedman·May 19, 2021Engineering
Frontend — How To Create, Edit And Animate SVGs All In One Place With SVGator 3.0 — Smashing Magazine

How To Create, Edit And Animate SVGs All In One Place With SVGator 3.0 — Smashing Magazine

Three years ago, we published a comprehensive introduction to the basic use of SVGator. At that time it was an app meant solely for animating SVG files created in other apps. Two years ago, we introduced you to a new version of SVGator and its improved animation capabilities. Today, we are taking a closer look at SVGator 3.0, a new major release of the popular SVG application that lets you create,

MDMikolaj Dobrucki·May 18, 2021Frontend
Performance — How We Improved Our Core Web Vitals (Case Study) — Smashing Magazine

How We Improved Our Core Web Vitals (Case Study) — Smashing Magazine

Google’s “Page Experience Update” will start rolling out in June. At first, sites that meet Core Web Vitals thresholds will have a minor ranking advantage in mobile search for all browsers. Search is important to any business, and this is the story of how Beau Hartshorne and his team at Instant Domain Search improved their Core Web Vitals scores. Plus, an open-source tool they’ve built along the w

BHBeau HartshorneBeau Hartshorne·May 17, 2021Performance
Performance — Tree-Shaking: A Reference Guide — Smashing Magazine

Tree-Shaking: A Reference Guide — Smashing Magazine

Since its early days, JavaScript programs have grown in complexity and the number of tasks they perform. The need to compartmentalize such tasks into closed scopes of execution became apparent. “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

AFAtila FassinaAtila Fassina·May 14, 2021Performance
Languages — Designing Birthday Picker UX: Simpler Is Better — Smashing Magazine

Designing Birthday Picker UX: Simpler Is Better — Smashing Magazine

They are everywhere. Confusing and frustrating design patterns that seem to be chasing you everywhere you go, from one website to another. Perhaps it’s a disabled submit button that never communicates what’s actually wrong, or tooltips that — once opened — cover the input field just when you need to correct a mistake. In this new series of articles on UX, we take a closer look at some frustrating

VFVitaly FriedmanVitaly Friedman·May 12, 2021Languages
Engineering — Little Smashing Stories — Smashing Magazine

Little Smashing Stories — Smashing Magazine

Over a decade ago, we set out to send a [truly smashing newsletter](https://www.smashingmagazine.com/the-smashing-newsletter/) with useful tips and techniques for designers and developers. The first issue was sent out in early 2009. Today marks the day we sent out our 300th edition of the Smashing Newsletter. This article is a little celebration in which we share little Smashing stories from peopl

VFVitaly FriedmanVitaly Friedman·May 12, 2021Engineering
Frontend — A Primer On CSS Container Queries — Smashing Magazine

A Primer On CSS Container Queries — Smashing Magazine

In more recent years, design systems and component libraries have gained popularity. There is also a desire to build once, deploy anywhere. Meaning a component developed in isolation is intended to work in any number of contexts to make building complex interfaces more efficient and consistent. CSS container queries have landed and are now available for experimentation. Let’s look at what problem

SEStephanie EcklesStephanie Eckles·May 11, 2021Frontend
Career & Teams — The Conference Platform We Use For Our Online Events: Hopin — Smashing Magazine

The Conference Platform We Use For Our Online Events: Hopin — Smashing Magazine

At the beginning of 2020, the SmashingConf team was ready for a new year. We had so many things that excited us. New speakers, new workshops, new cities, new attendees, new experiences. And as we all know, 2020 had other ideas. With so many people working from home, we thought we would bring our [Smashing workshops](https://smashingconf.com/online-workshops/) from our home offices to yours — but h

AAAmanda AnnandaleAmanda Annandale·May 11, 2021Career & Teams
Career & Teams — How To Organize Product-Related Assets And Collaborate Better — Smashing Magazine

How To Organize Product-Related Assets And Collaborate Better — Smashing Magazine

A good management of your product records, i.e. all documents associated with your product — saves time, reduces anxiety, boosts onboarding and makes you ready for vacations or sudden leaves. All product specialists should know the basics. Of course, it would be easier for you to find, say, your July report for investors if everyone on the team named and structured their assets consistently. Let’s

VPValeriia PaninaValeriia Panina·May 7, 2021Career & Teams