Home/Smashing Magazine
Source

Smashing Magazine

1,392 articles from Smashing Magazine.

Engineering — Modeling A GraphQL API For Your Blog Using Webiny Serverless CMS — Smashing Magazine

Modeling A GraphQL API For Your Blog Using Webiny Serverless CMS — Smashing Magazine

If this is your first time hearing of Webiny, it’s an open-source framework for building serverless applications which provide users with tools and ready-made applications. In the world of serverless applications, Webiny is becoming a popular way to adopt the serverless approach of building applications by providing handy tools that developers can build their apps upon. In this article, we will lo

NVNwani VictoryNwani Victory·March 9, 2021Engineering
Design & UX — Obscure Mobile Design Techniques That Boost UX — Smashing Magazine

Obscure Mobile Design Techniques That Boost UX — Smashing Magazine

To inspire mobile designers, let’s look at how some clever design solutions tackle mobile navigation, confirmation dialogs, animations, and gamifying the waiting experience. While these solutions are mostly unconventional, the point isn’t to highlight them for their own sake. Design solutions have to be built with the pillars of accessibility and usability, but they can be refined according to you

GSGert SvaikoGert Svaiko·March 8, 2021Design & UX
Performance — UI Design Testing Tools I Use All The Time — Smashing Magazine

UI Design Testing Tools I Use All The Time — Smashing Magazine

With so many great tools available, there really shouldn’t be any excuse for not testing with users these days. It is fast, easy and cheap. But we don’t even need to limit ourselves to testing. These tools also make user research and visualization easier than ever before, making them ideal all the way from discovery through prototype to post-launch optimization. Our lives as UI designers have neve

PBPaul BoagPaul Boag·March 5, 2021Performance
Frontend — Creating An Outside Focus And Click Handler React Component — Smashing Magazine

Creating An Outside Focus And Click Handler React Component — Smashing Magazine

In this article, we’ll look at how to create an outside focus and click handler with React. You’ll learn how to recreate an open-source React component (react-foco) from scratch in doing so. To get the most out of this article, you’ll need a basic understanding of JavaScript classes, DOM event delegation and React. By the end of the article, you’ll know how you can use JavaScript class instance pr

AVArihant VermaArihant Verma·March 3, 2021Frontend
Engineering — State Of GDPR In 2021: Cookie Consent For Designers And Developers — Smashing Magazine

State Of GDPR In 2021: Cookie Consent For Designers And Developers — Smashing Magazine

As digital practitioners, GDPR has impacted every facet of our professional and personal lives. Whether you’re addicted to Instagram, message your family on WhatsApp, buy products from Etsy or Google information, no one has escaped the rules that were introduced in 2018. In this article, Danny Bluestone will take a look at two developments that have impacted cookies, plus a third on the horizon.

DBDanny BluestoneDanny Bluestone·March 1, 2021Engineering
Languages — Building User Trust In UX Design — Smashing Magazine

Building User Trust In UX Design — Smashing Magazine

Trust is at the heart of a long-term strategy of any product. There are many ways to earn it, and even more ways to lose it. In this article, Adam Fard will go through how you, as a product designer, can make sure your product nurtures and retains trust throughout every touchpoint. To do that, we’ll be borrowing some of the tricks marketers and product people have up their sleeves.

AFAdam FardAdam Fard·February 26, 2021Languages
Frontend — Building A Discord Bot Using Discord.js — Smashing Magazine

Building A Discord Bot Using Discord.js — Smashing Magazine

An introduction to building a Discord bot using the Discord.js module. The bot will share random jokes, assign or revoke user roles, and post tweets of a specific account to a Discord channel. In this article, Subha Chanda will showu you how to build a bot from scratch using JavaScript and with help from Discord.js. He’ll cover the process from building the bot up to deploying it to the cloud.

SCSubha ChandaSubha Chanda·February 25, 2021Frontend
Design & UX — Material Design Text Fields Are Badly Designed — Smashing Magazine

Material Design Text Fields Are Badly Designed — Smashing Magazine

Where to put the label in a web form? In the early days, we talked about left-aligned labels versus top-aligned labels. These days we talk about floating labels. Let’s explore why they aren’t a very good idea, and what to use instead. Some people assume float labels are best because Google’s Material Design uses them. But in this case, Adam Silver recommends using conventional text fields which ha

ASAdam SilverAdam Silver·February 24, 2021Design & UX
Frontend — Create Responsive Image Effects With CSS Gradients And aspect-ratio — Smashing Magazine

Create Responsive Image Effects With CSS Gradients And aspect-ratio — Smashing Magazine

A classic problem in CSS is maintaining the aspect ratio of images across related components, such as cards. The newly supported `aspect-ratio` property in combination with `object-fit` provides a remedy to this headache of the past! In this article, Stephanie Eckles will show you how to use these properties, in addition to creating a responsive gradient image effect for extra flair.

SEStephanie EcklesStephanie Eckles·February 23, 2021Frontend
Engineering — Building Your Own Personal Learning Curriculum — Smashing Magazine

Building Your Own Personal Learning Curriculum — Smashing Magazine

As developers, we’re constantly learning new languages and frameworks. But how can you structure this learning to ensure maximum benefit while still progressing? Here’s how you can devise your own curriculum to keep moving in the right direction. The following are simply steps that worked for Kirsty Simmonds when she needed to learn over time, without burning out or placing undue pressure on mysel

KSKirsty SimmondsKirsty Simmonds·February 19, 2021Engineering
Performance — Optimizing Video For Size And Quality — Smashing Magazine

Optimizing Video For Size And Quality — Smashing Magazine

Adding video to your application can increase customer engagement and satisfaction. But the exact opposite can occur when there are issues with the video playback: video stalls are frustrating and drive customers away. In this article, Doug Sillars will walk you through the steps to optimize the video on your website to ensure fast playback and reduce stalls.

DSDoug SillarsDoug Sillars·February 15, 2021Performance
Design & UX — Things To Expect From A Smashing Workshop: Form Design Masterclass — Smashing Magazine

Things To Expect From A Smashing Workshop: Form Design Masterclass — Smashing Magazine

A couple of weeks ago, we organized a [Form Design Masterclass](https://smashingconf.com/online-workshops/workshops/adam-silver), an online workshop with Adam Silver alongside 81 friendly and smart people. Today, Adam Silver shares his experience and details by highlighting what you as an attendee can expect from a Smashing Workshop, and things to keep in mind when running one.

ASAdam SilverAdam Silver·February 15, 2021Design & UX
Design & UX — What Saul Bass Can Teach Us About Web Design — Smashing Magazine

What Saul Bass Can Teach Us About Web Design — Smashing Magazine

Saul Bass is a graphic design legend. Responsible for title sequences in films like North by Northwest and Anatomy of a Murder, as well as a number of iconic posters and brand logos over the years. His work, in the words of Martin Scorsese, “distilled the poetry of the modern, industrialized world.” Film credits, brand logos, posters… Saul did it all, and the principles that informed his work are

FOFrederick O BrienFrederick O Brien·February 12, 2021Design & UX
Frontend — Building A Web App With React, Redux And Sanity.io — Smashing Magazine

Building A Web App With React, Redux And Sanity.io — Smashing Magazine

Headless CMS is a powerful and easy way to manage content and access API. Built on React, Sanity.io is a seamless tool for flexible content management. It can be used to build simple to complex applications from the ground up. In this article, Ifeanyi Dike explains how to build a simple listing app with Sanity.io and React. The global states will be managed with Redux and the application will be s

IDIfeanyi DikeIfeanyi Dike·February 11, 2021Frontend
Engineering — Getting The Most Out Of Git — Smashing Magazine

Getting The Most Out Of Git — Smashing Magazine

Git has so many powerful features under the hood! From Interactive Rebase to Submodules and from the Reflog to File History, these advanced features help you become more productive and make fewer mistakes. 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

TGTobias GuentherTobias Guenther·February 9, 2021Engineering
Frontend — Managing CSS Z-Index In Large Projects — Smashing Magazine

Managing CSS Z-Index In Large Projects — Smashing Magazine

We use abstractions and conventions to hide away the tricky and error-prone parts, which in turn makes it easier for everyone who needs to do the same task. The ideas Steven Frieson shares here should be actionable in most applications depending on your styling solution and browser support. Migrating to use this system is not very risky since stacking contexts are already scoped individually; you

SFSteven FriesonSteven Frieson·February 8, 2021Frontend
Design & UX — Designing Better Tooltips For Mobile User Interfaces — Smashing Magazine

Designing Better Tooltips For Mobile User Interfaces — Smashing Magazine

Tooltips are powerful design patterns implemented to enhance the design experience by providing additional information precisely when users need it. The key to designing tooltips that fit seamlessly into the overall design is to plan for them early in the design process. Specifically, designing useful tooltips requires proper timing and proper implementation. In this article, Eric Olive will show

EOEric OliveEric Olive·February 3, 2021Design & UX
Engineering — How To Port Your Web App To Microsoft Teams — Smashing Magazine

How To Port Your Web App To Microsoft Teams — Smashing Magazine

On your list of places where people might access your web app, Teams is probably number “not-on-the-list”. But it turns out that making your app accessible where your users are already working has some profound benefits. In this article, Tomomi Imura and Daisy Chaussee will take a look at how Teams makes web apps a first-class citizen, and how it enables you to interact with those apps in complete

TITomomi Imura Daisy ChausseeTomomi Imura Daisy Chaussee·February 2, 2021Engineering
Frontend — Things You Can Do With CSS Today — Smashing Magazine

Things You Can Do With CSS Today — Smashing Magazine

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. Some of the really handy powers CSS gives you might have slipped you by, so in this article, Andy Bell will take a look into masonry layout, :is selector, clamp(), ch and ex units, updated text decoration, and

ABAndy BellAndy Bell·February 1, 2021Frontend
Engineering — Inspiring Wallpapers For February 2021 And A Little Creativity Challenge — Smashing Magazine

Inspiring Wallpapers For February 2021 And A Little Creativity Challenge — Smashing Magazine

Let’s make this February more colorful! Apart from a new collection of wallpapers, we also have a little creativity challenge waiting for you this month. It’s the perfect occasion to share your ideas with the world — and win a smashing prize along the way. The wallpapers in this post come with and without a calendar for February 2021, and, as a little bonus goodie, you’ll also discover some famili

CMCosima MielkeCosima Mielke·January 31, 2021Engineering
Frontend — Dynamic Static Typing In TypeScript — Smashing Magazine

Dynamic Static Typing In TypeScript — Smashing Magazine

In this article, we look at some of the more advanced features of TypeScript, like union types, conditional types, template literal types, and generics. We want to formalize the most dynamic JavaScript behavior in a way that we can catch most bugs before they happen. We apply several learnings from all chapters of TypeScript in 50 Lessons, a book we’ve published here on Smashing Magazine late 2020

SBStefan BaumgartnerStefan Baumgartner·January 29, 2021Frontend
AI & ML — How To Create An Engaging And Useful Chatbot — Smashing Magazine

How To Create An Engaging And Useful Chatbot — Smashing Magazine

What makes a good chatbot experience? Most people think of witty responses and machine learning, but the basis of a chatbot UX is actually rooted in content strategy. In this article Marli Mesibov will answer those questions and identify what you as a content designer can do to make your chatbot successful. A poor chatbot simply says “I’m sorry, I don’t understand” on repeat (or worse “error”.) A

MMMarli MesibovMarli Mesibov·January 28, 2021AI & ML
Frontend — From Design To Developer-Friendly React Code In Minutes With Anima — Smashing Magazine

From Design To Developer-Friendly React Code In Minutes With Anima — Smashing Magazine

The promise of seamless design to code translation goes back to the early WYSIWYG page builders. Despite the admirable goal, their biggest flaw was the code that they generated. Skepticism remains to this day and whenever this idea reappears, the biggest concerns are always related to the quality and maintainability of the code. In this article, Miroslav Bekyarov will show you how to turn our stat

MBMiroslav BekyarovMiroslav Bekyarov·January 26, 2021Frontend
Career & Teams — Making Remote Work Work: Useful Tools And Resources — Smashing Magazine

Making Remote Work Work: Useful Tools And Resources — Smashing Magazine

How to stay creative, focused, and organized when working remotely? In this article, Cosima Mielke has compiled some useful tools and resources to help you tackle some of the challenges of working remotely. The collection is by no means complete, but rather a selection of things that we found useful and that we hope will make your day-to-day work more productive and efficient, too.

CMCosima MielkeCosima Mielke·January 25, 2021Career & Teams
Career & Teams — When To Say No To Freelance Projects — Smashing Magazine

When To Say No To Freelance Projects — Smashing Magazine

Saying no is a skill. Saying yes to the wrong freelance opportunities can lead you toward misery and burnout, and we could all probably improve how mindful we are about our work, partners, and clients. For hungry freelancers, it can be hard to turn work away. But in the long run, saying no to a project that’s a bad fit will make you a better freelancer. This article will help freelancers and consu

BKBecca KennedyBecca Kennedy·January 22, 2021Career & Teams
Performance — How We Improved SmashingMag Performance — Smashing Magazine

How We Improved SmashingMag Performance — Smashing Magazine

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 changes that helped boost all the metrics across the board. Hopefully, this little case-study will be useful to you, and perhaps there ar

VFVitaly FriedmanVitaly Friedman·January 21, 2021Performance
Engineering — How To Build A Node.js API For Ethereum Blockchain — Smashing Magazine

How To Build A Node.js API For Ethereum Blockchain — Smashing Magazine

why do we need blockchain? Blockchain is a safe way to record activities and keep data fresh while maintaining a record of its history compared to the traditional records or databases where hacks, errors, and downtimes are very possible. In this article, John Agbanusi explains how you can build a Node.js API from scratch by building and deploying an Ethereum Blockchain for decentralization. He als

JAJohn AgbanusiJohn Agbanusi·January 19, 2021Engineering
Frontend — Using Grommet In React Applications — Smashing Magazine

Using Grommet In React Applications — Smashing Magazine

In this tutorial, Fortune Ikechi is going to show you how to use Grommet as a UI library for React applications. He’ll use Grommet as a UI library of choice to create a pricing component, this would help you have a better understanding of how to use Grommet. This tutorial will be beneficial to readers who are interested in developing responsive components in their React application using Grommet.

FIFortune Ikechi·January 18, 2021Frontend
Performance — New Year, New Beginnings: Smashing Workshops & Audits — Smashing Magazine

New Year, New Beginnings: Smashing Workshops & Audits — Smashing Magazine

Catch up on what’s been cookin’ at Smashing and explore some of the most popular community resources featured in our newsletter over the past few weeks. Spoiler: there are also new workshops, front-end & UX audits and truly smashing podcast episodes. This article covers pretty much everything you need to build fast experiences on the web today — from metrics to tooling and front-end techniques and

ILIris LjesnjaninIris Ljesnjanin·January 15, 2021Performance
Design & UX — Web Design Trends 2021: The Report — Smashing Magazine

Web Design Trends 2021: The Report — Smashing Magazine

2020 was anything but normal. The world has changed, and so has our role as designers. We never know what the future will bring, but ultimately we shape it, and we can contribute more positive change to the world than we often think we can. Consumers had their lives shaken up and many businesses experienced new challenges as well as opportunities thanks to the novel events of the year.

SSSuzanne ScaccaSuzanne Scacca·January 15, 2021Design & UX
Frontend — Integrating A Dialogflow Agent Into A React Application — Smashing Magazine

Integrating A Dialogflow Agent Into A React Application — Smashing Magazine

When it comes to building a conversational chat assistant that could be used at a small or enterprise level, Dialogflow would most likely be one of the first options that would show up in your search list — and why wouldn’t it? It offers several features such as the ability to process audio and text inputs, provide dynamic responses using custom webhooks, connect to millions of Google-enabled devi

NVNwani VictoryNwani Victory·January 14, 2021Frontend
Design & UX — Getting Started With The GetX Package In Flutter Applications — Smashing Magazine

Getting Started With The GetX Package In Flutter Applications — Smashing Magazine

GetX is an extra lightweight solution for state, navigation, and dependencies management for Flutter applications. Flutter is one of the fastest ways to build truly cross-platform native applications. It provides features allowing the developer to build a truly beautiful UI experience for their users, and in this article, Kelvin Omereshone will be looking at GetX’s benefits, features, and how to s

KOKelvin OmereshoneKelvin Omereshone·January 8, 2021Design & UX
Engineering — How To Make More Money Selling Shopify Apps In 2021 — Smashing Magazine

How To Make More Money Selling Shopify Apps In 2021 — Smashing Magazine

Developing a Shopify app and being able to sell it are two different things. While you might be a very skilled app developer, that’s not always enough for Shopify merchants to decide to install a newly released and unreviewed app on their sites. If you want to give merchants a reason to install and use your Shopify app, there are four things you need to do.

SSSuzanne ScaccaSuzanne Scacca·January 7, 2021Engineering
Engineering — Towards An Ad-Free Web: Diversifying The Online Economy — Smashing Magazine

Towards An Ad-Free Web: Diversifying The Online Economy — Smashing Magazine

The founding principles of the World Wide Web have been warped by years of over-reliance on advertising. Fixing that imbalance and moving toward a more ethical, open web means relaying the foundations, with sites showing other ways are possible. Incorporate sustainability into your designs. Communicate what you do and how you survive and what people can do to help. Progress does not happen on its

FOFrederick O BrienFrederick O Brien·January 4, 2021Engineering
Engineering — A Practical Introduction To Dependency Injection — Smashing Magazine

A Practical Introduction To Dependency Injection — Smashing Magazine

This article is the first part of an upcoming series that provides a practical introduction to Dependency Injection in a manner that immediately permits you to realize its many benefits without being hampered down by theory. Today, Jamie Corkhill will depict only a very practical example of dependency injection in use and mostly neglect the theoretical attributes. He does it this way in order to m

JCJamie CorkhillJamie Corkhill·December 30, 2020Engineering
Engineering — Creativity In A World Of Technology: Does It Exist? — Smashing Magazine

Creativity In A World Of Technology: Does It Exist? — Smashing Magazine

In this article, Maggie Mackenzie investigates the intricate dynamics associated with the relationship between creativity and technology and discussing whether or not creativity still exists. She will explore what creativity looks like and who (or what) is it now coming from. Ultimately, if creativity is truly being impacted by technology, is there a way to find the balance between the human and t

MMMaggie MackenzieMaggie Mackenzie·December 28, 2020Engineering
Frontend — What’s Coming To VueX? — Smashing Magazine

What’s Coming To VueX? — Smashing Magazine

Vuex is the go-to state management library for Vue applications, and the Vue core team has some big plans to make it better than ever. Vuex 5 will work more like a composition API alternative but keeps all the benefits of using an official state management library. In this article, Joseph Zimmerman will take a look at what will be changing.

JZJoseph ZimmermanJoseph Zimmerman·December 24, 2020Frontend
Engineering — How To Optimize Progressive Web Apps: Going Beyond The Basics — Smashing Magazine

How To Optimize Progressive Web Apps: Going Beyond The Basics — Smashing Magazine

Progressive web applications are proven to raise user engagement and keep the costs down effectively. Building a modern PWA requires more than just the core setup to keep up with the user’s expectations. Today, Gert Svaiko will take a first-hand look at adding contemporary characteristics to PWAs, from functioning offline to user-friendly permission requests.

GSGert SvaikoGert Svaiko·December 23, 2020Engineering