Home/Frontend
Topic

Frontend

1,551 articles on Frontend.

11,834 articles
Frontend — CSS Nesting, specificity, and you

CSS Nesting, specificity, and you

Here’s Kilian Valkhof on CSS nesting which isn't available in browsers yet, but will be soon. There are a few differences he notes between CSS nesting and

RRRobin RendleRobin Rendle·August 10, 2021Frontend
Frontend — The World of CSS Transforms

The World of CSS Transforms

The “transform” property is such a powerful part of the CSS language! In this blog post, we'll take a deep look at this property and see some of the nifty things it can do.

JWJosh W. Comeau·August 9, 2021Frontend
Frontend — How To Build Resilient JavaScript UIs — Smashing Magazine

How To Build Resilient JavaScript UIs — Smashing Magazine

Embracing the fragility of the web empowers us to build UIs capable of adapting to the functionality they can offer, whilst still providing value to users. The User Experience (UX) doesn’t need to be all or nothing — just what is usable. This premise, known as graceful degradation allows a system to continue working when parts of it are dysfunctional — much like an electric bike becomes a regular

CHCallum HartCallum Hart·August 3, 2021Frontend
Frontend — Refactoring CSS: Strategy, Regression Testing And Maintenance (Part 2) — Smashing Magazine

Refactoring CSS: Strategy, Regression Testing And Maintenance (Part 2) — Smashing Magazine

After analyzing CSS and its weaknesses, and management giving a green light to the refactoring project, it’s time to get to work. A team needs to agree on the internal code standards and best practices, plan out the refactoring strategy, and outline individual tasks. We need to set up a visual regression testing suite, and a maintenance plan to enforce the new standards and best practices in the f

ABAdrian BeceAdrian Bece·August 2, 2021Frontend
Frontend — How To Build An E-Commerce Site With Angular 11, Commerce Layer And Paypal — Smashing Magazine

How To Build An E-Commerce Site With Angular 11, Commerce Layer And Paypal — Smashing Magazine

Having an e-commerce store is crucial for any store owner as more and more customers are turning to online shopping. In this article, Zara Cooper will cover how to build an e-commerce store using Angular 11. You shall use Commerce Layer as our headless e-commerce API. Although there may be tonnes of ways to process payments, she’ll demonstrate how to use just one, Paypal.

ZCZara CooperZara Cooper·July 30, 2021Frontend
Frontend — There Is No Such Thing As A CSS Absolute Unit — Smashing Magazine

There Is No Such Thing As A CSS Absolute Unit — Smashing Magazine

What are absolute units? What are the differences between relative and absolute units, and how do we create accurate sizes on the web? It’s important to note that there are still significant differences between relative and absolute units. CSS relative units are sized according to other style definitions defined by parent elements or are affected by the size of a parent container. As for absolute

ESElad ShechterElad Shechter·July 29, 2021Frontend
Frontend — Creating An Accessible Dialog From Scratch — Smashing Magazine

Creating An Accessible Dialog From Scratch — Smashing Magazine

Dialogs are everywhere in modern interface design (for good or for bad), and yet many of them are not accessible to assistive technologies. In this post, Kitty Giraudel is going to write a small JavaScript library for authoring accessible dialogs from the very beginning. The goal is to understand what goes into it. She’s not going to deal with styling too much, just the JavaScript part.

KGKitty GiraudelKitty Giraudel·July 28, 2021Frontend
Frontend — CSS Logical Properties and Values

CSS Logical Properties and Values

Now that cross-browser support is at a tipping point, it's a good time to take a look at logical properties and values. If you're creating a website in

OWOllie WilliamsOllie Williams·July 27, 2021Frontend
Frontend — Global vs. Local Styling In Next.js — Smashing Magazine

Global vs. Local Styling In Next.js — Smashing Magazine

Next.js has strong opinions about how to organize JavaScript but not CSS. How can we develop patterns that encourage best CSS practices while also following the framework’s logic? The answer is surprisingly simple — to write well-structured CSS that balances global and local styling concerns. In this article, Alexander Dubovoy will build a website (a tea shop!) to demonstrate these patterns.

ADAlexander DubovoyAlexander Dubovoy·July 27, 2021Frontend
Frontend — Slinkity

Slinkity

Perhaps the #1 reason I love Astro is that it brings the JavaScript component authoring experience to the Static Site Generator world with zero JavaScript

CCChris Coyier·July 26, 2021Frontend
Frontend — Gatsby Serverless Functions And The International Space Station — Smashing Magazine

Gatsby Serverless Functions And The International Space Station — Smashing Magazine

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/) and then display it on a 3D interactive globe using [React Three Fibre](https://github.com/pmndrs/react-three-fiber).

PSPaul ScanlonPaul Scanlon·July 26, 2021Frontend
Frontend — Color Tools And Resources — Smashing Magazine

Color Tools And Resources — Smashing Magazine

Do you need a little inspiration boost? We’ve collected some useful color tools and resources that we’ve discovered lately — to help you get the most out of your creativity. We’ve also just recently covered [CSS auditing tools](https://www.smashingmagazine.com/2021/03/css-auditing-tools/), [CSS generators](https://www.smashingmagazine.com/2021/03/css-generators/), [accessible front-end components]

CMCosima MielkeCosima Mielke·July 21, 2021Frontend
Frontend — Some Typography Links VI

Some Typography Links VI

Glitter text — whO (I learned a name for people who go by a one-word moniker like that: Mononymous) created a builder for fancy SVG-based type. It's a custom

CCChris Coyier·July 16, 2021Frontend
Frontend — How To Migrate From jQuery To Next.js — Smashing Magazine

How To Migrate From jQuery To Next.js — Smashing Magazine

There are many scenarios where we don’t need to follow the architecture that frameworks like React or Next.js impose on us, and that is OK. However, jQuery is a library that contains a lot of code and features that are not needed anymore. In this article, Facundo Giuliani will take a closer look at different approaches and strategies on how you can migrate a web application that uses jQuery framew

FGFacundo GiulianiFacundo Giuliani·July 13, 2021Frontend
Frontend — A Look at Building with Astro

A Look at Building with Astro

Astro is a brand new framework for building websites. To me, the big thing is that it allows you to build a site like you're using a JavaScript framework (and

CCChris Coyier·July 7, 2021Frontend
Frontend — The Web’s Worst Default

The Web’s Worst Default

There are a lot of great defaults when it comes to browsers and the web. Think about all the accessibility features that are baked into HTML so that you don’t

RRRobin RendleRobin Rendle·July 7, 2021Frontend
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
Frontend — When a Click is Not Just a Click

When a Click is Not Just a Click

The click event is quite simple and easy to use; you listen for the event and run code when the event is fired. It works on just about every HTML element

TATravis AlmandTravis Almand·June 30, 2021Frontend
Frontend — Chromium spelling and grammar features

Chromium spelling and grammar features

Delan Azabani digs into the (hopefully) coming soon ::spelling-error and ::grammar-error pseudo selectors in CSS. Design control is always nice. Hey, if we

CCChris Coyier·June 29, 2021Frontend
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
Frontend — Browser VNC with Zero Trust Rules

Browser VNC with Zero Trust Rules

Starting today, we’re excited to share that you can now shift another traditional client-driven use case to a browser. Teams can now provide their users with a Virtual Network Computing (VNC) client fully rendered in the browser with built-in Zero Trust controls.

KKennyKenny·June 24, 2021Frontend
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
Frontend — inherit, initial, unset, revert

inherit, initial, unset, revert

There are four keywords that are valid values for any CSS property (see the title). Of those, day to day, I'd say I see the inherit used the most. Perhaps

CCChris Coyier·June 22, 2021Frontend
Frontend — Using Custom Elements in Svelte

Using Custom Elements in Svelte

Svelte fully supports custom elements (e.g. <my-component>) without any custom configuration or wrapper components and has a perfect score on Custom

GRGeoff RichGeoff Rich·June 22, 2021Frontend
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
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
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
Frontend — A Cornucopia of Container Queries

A Cornucopia of Container Queries

I don't know about y'all, but my feeds have been flooded with articles about CSS Container Queries these past few weeks. The buzz about container queries

GGGeoff GrahamGeoff Graham·June 9, 2021Frontend
Frontend — VS Code Extensions for HTML

VS Code Extensions for HTML

Let's look at some extensions for VS Code that make writing and editing HTML (and languages that are basically HTML with extra powers) better. You may not

CCChris Coyier·June 7, 2021Frontend
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