Home/Frontend
Topic

Frontend

1,551 articles on Frontend.

11,834 articles
Frontend — What If Our Sliders Actually Slid? — Smashing Magazine

What If Our Sliders Actually Slid? — Smashing Magazine

Creative Coding to level up your skills is fundamental. But when so much of the web is very “set in its way”, it takes a little more for us to think “outside the box” and have fun! In this article, Jhey Tompkins explores one of GreenSocks’ newest plugins alongside React to create an impractical whimsical spin on a well-known native element: ``.

JTJhey TompkinsJhey Tompkins·April 25, 2022Frontend
Frontend — The Front-End Developer's Guide to the Terminal

The Front-End Developer's Guide to the Terminal

If you want to learn a modern JavaScript framework like React or Angular, you better be familiar with the terminal! So many frameworks and tools assume that you're proficient with it, without ever explaining it. This blog post is your missing manual, covering all of the most important fundamentals.

JWJosh W. Comeau·April 19, 2022Frontend
Frontend — Adding CDN Caching to a Vite Build

Adding CDN Caching to a Vite Build

Content delivery networks, or CDNs, allow you to improve the delivery of your website’s static resources, most notably, with CDN caching. They do this by

ARAdam RackisAdam Rackis·April 4, 2022Frontend
Frontend — The What, When, Why And How Of Next.js’ New Middleware Feature — Smashing Magazine

The What, When, Why And How Of Next.js’ New Middleware Feature — Smashing Magazine

Next.js’ recent 12.0 release included a new beta feature: middleware. For a detailed explanation, you can read all about it in Sam’s previous article, “[Next.js Wildcard Subdomains](https://www.smashingmagazine.com/2021/11/nextjs-wildcard-subdomains/)”. This article, on the other hand, dives into the overall concept of middleware and how handy it can be in building things.

SPSam PoderSam Poder·April 1, 2022Frontend
Frontend — Understanding Layout Algorithms

Understanding Layout Algorithms

As front-end developers, we often learn CSS by focusing on individual properties. Instead, we should focus on how the language uses those properties to calculate layouts. In this blog post, we'll pop the hood on CSS and see how the language is structured, and how to learn it effectively.

JWJosh W. Comeau·March 28, 2022Frontend
Frontend — Those HTML Attributes You Never Use — Smashing Magazine

Those HTML Attributes You Never Use — Smashing Magazine

In this article, Louis Lazaris describes and demonstrates some interesting HTML attributes that you may or may not have heard of and perhaps find useful enough to personally use in one of your projects. This post is the result of his research, and he hopes you’ll find some of these useful to you, as you build HTML pages in the coming months.

LLLouis LazarisLouis Lazaris·March 23, 2022Frontend
Frontend — Claymorphism: Will It Stick Around? — Smashing Magazine

Claymorphism: Will It Stick Around? — Smashing Magazine

This fresh new design trend has been picking up steam with the rising popularity of colorful inflated 3D graphics in web illustrations and with the latest Virtual Reality projects like “Horizon Worlds”. Let’s see if there is room for Claymorphism on the UI, and how we can create this effect with CSS.

ABAdrian BeceAdrian Bece·March 16, 2022Frontend
Frontend — Delightful React File/Directory Structure

Delightful React File/Directory Structure

How should we structure components and other files in our React apps? I've iterated my way to a solution I'm really happy with. In this blog post, I'll share how it works, what the tradeoffs are, and how I mitigate them.

JWJosh W. Comeau·March 15, 2022Frontend
Frontend — Creating a React Library for Consistent Data Visualization - Shopify

Creating a React Library for Consistent Data Visualization - Shopify

At Shopify, we tell a lot of stories through data visualization. This is the driving force behind business decisions—not only for our merchants, but also for teams within Shopify. With more than 10,000 Shopify employees, though, it is only natural that different teams started using different tools to display data.

SEShopify Engineering·March 15, 2022Frontend
Frontend — An open source compositional deadlock detector for Android Java

An open source compositional deadlock detector for Android Java

What the research is: We’ve developed a new static analyzer that catches deadlocks in Java code for Android without ever running the code. What distinguishes our analyzer from past research is its ability to analyze revisions in codebases with hundreds of millions of lines of code. We have deployed our analyzer in Meta’s continuous integration […]

CWChris Wiltz·March 8, 2022Frontend
Frontend — New CSS Features In 2022 — Smashing Magazine

New CSS Features In 2022 — Smashing Magazine

2022 is shaping up to be a pretty great year for CSS, with a plethora of new features on the horizon. Some are already starting to land in browsers, others are likely to gain widespread browser support in 2022, while for one or two the process may be a little longer. In this article we’ll take a look at a few of them.

MBMichelle BarkerMichelle Barker·March 1, 2022Frontend
Frontend — Manuel Matuzovic's CSS Specificity Demo

Manuel Matuzovic's CSS Specificity Demo

If you're looking for a primer on CSS specificity, we've got that. And if you're trying to get ahead of the game, you should be aware of CSS Cascade Layers as

CCChris Coyier·February 25, 2022Frontend
Frontend — Testing Pipeline 101 For Frontend Testing — Smashing Magazine

Testing Pipeline 101 For Frontend Testing — Smashing Magazine

Automated testing can give you much confidence in merging your changes, especially in extensive refactoring or working with your teammates. As a result, you might have thought about including testing as part of your build routine to get the most value out of it. Don’t know where to start? Let’s implement your testing pipeline together from scratch.

RSRamona SchweringRamona Schwering·February 21, 2022Frontend
Frontend — Implications Of WordPress Joining The Block Protocol — Smashing Magazine

Implications Of WordPress Joining The Block Protocol — Smashing Magazine

When working with JavaScript-based libraries, such as React or Vue, we work with “components” which are pieces of code grouped together. A “block” is also a component, but it is high-level, asserting a definitive purpose, and defining the requirements to produce the desired layout or functionality. It is the outermost component from the hierarchy of components wrapping each other, so it has a bird

LLeonardolosovizLeonardolosoviz·February 15, 2022Frontend
Frontend — React State Management Using Easy Peasy — Smashing Magazine

React State Management Using Easy Peasy — Smashing Magazine

According to the documentation, Easy Peasy is an abstraction of Redux, providing a reimagined API that focuses on developer experience. It allows you to quickly and easily manage your state, whilst leveraging the strong architectural guarantees. We’ll use Easy Peasy as a state manager of choice to build a note application which would help us learn how it works.

TToppleTopple·February 1, 2022Frontend
Frontend — Fred Wang: Senior Backend Engineer

Fred Wang: Senior Backend Engineer

I’m part of the Mambas team at Spotify, which is responsible for all the animation, presentation and personalized data in the Wrapped interactive mobile app. My job is to take the raw data from the backend and enrich it, translate it and format it for different regions before it goes to the frontend mobile engineers. That includes deciding what music to play during data stories and what images and

SESpotify Engineering·February 1, 2022Frontend
Frontend — Getting Started With CSS Cascade Layers — Smashing Magazine

Getting Started With CSS Cascade Layers — Smashing Magazine

We all have run into CSS collisions and sudden regressions in our codebases when new styles are written or 3rd-party styles are added. This is because of the interdependence of styles due to source order, specificity, and inheritance. Some ways to control the cascade have included methodologies like ITCSS and BEM and other newer native features. Cascade layers will be the ultimate native solution

SEStephanie EcklesStephanie Eckles·January 24, 2022Frontend
Frontend — Building The Real App With React Query — Smashing Magazine

Building The Real App With React Query — Smashing Magazine

You probably know how annoying it could be to handle different states, if you have ever built React applications that use asynchronous data. In this article, Georgii Perepecho explains the most common React Query features that you need to be familiar with when creating a real-life application that is stable when testing.

GPGeorgii PerepechoGeorgii Perepecho·January 20, 2022Frontend
Frontend — Modern Fluid Typography Using CSS Clamp — Smashing Magazine

Modern Fluid Typography Using CSS Clamp — Smashing Magazine

In this article, Adrian Bece will explore fluid typography principles, use-cases, best practices, implementation with CSS clamp function and how to calculate the right parameters. He’ll also show you how to address some accessibility concerns and watch out for one important issue that you cannot fix as of yet, but have to be aware of regardless.

ABAdrian BeceAdrian Bece·January 17, 2022Frontend
Frontend — Using the CSS Me Not Bookmarklet

Using the CSS Me Not Bookmarklet

The CSS Me Not bookmarklet lets you see all of the CSS files on a site, notably unused files you might want to prevent from loading.

CCChris Coyier·January 14, 2022Frontend
Frontend — Mondrian Art in CSS From 5 Coders

Mondrian Art in CSS From 5 Coders

I saw some Mondrian Art in CSS going around the other day and figured I'd go looking for others I've seen over the years and round them up.

CCChris Coyier·January 14, 2022Frontend
Frontend — Building A Web Code Editor — Smashing Magazine

Building A Web Code Editor — Smashing Magazine

If you’re a developer who’s thinking about building a platform that requires a code editor in one form or another, then this article is for you. This article explains how to create a web code editor that displays the result in real time with the help of some HTML, CSS and JavaScript.

DDDaniel DonDaniel Don·January 13, 2022Frontend
Frontend — How to Make a Pure CSS 3D Package Toggle

How to Make a Pure CSS 3D Package Toggle

You know how you can get cardboard boxes that come totally flat? You fold ‘em up and tape ‘em to make them into a useful box. Then when it’s time to recycle

JTJhey TompkinsJhey Tompkins·January 12, 2022Frontend
Frontend — A Deep CSS Dive Into Radial And Conic Gradients — Smashing Magazine

A Deep CSS Dive Into Radial And Conic Gradients — Smashing Magazine

CSS gradients are a useful CSS feature that can be used to create interesting UI effects or even help us in drawing something without the need to create HTML elements for it. In this article, we’ll be taking a closer look at two gradients: `conic-gradient` and `radial-gradient`. You’ll see how each one of them works in detail, what the differences and similarities are between them, how and where t

ASAhmad ShadeedAhmad Shadeed·January 10, 2022Frontend
Frontend — CSS-Based Fingerprinting

CSS-Based Fingerprinting

Fingerprinting is bad. It's a term that refers to building up enough metadata about a user that you can essentially figure out who they are. JavaScript has

CCChris Coyier·January 3, 2022Frontend