Home/Frontend
Topic

Frontend

1,512 articles on Frontend.

11,739 articles
Frontend — Increment Issue 13: Frontend

Increment Issue 13: Frontend

Increment is a beautiful quarterly magazine (print and web) published by Stripe "about how teams build and operate software systems at scale". While there is

CCChris Coyier·May 30, 2020Frontend
Frontend — How To Create Better Angular Templates With Pug — Smashing Magazine

How To Create Better Angular Templates With Pug — Smashing Magazine

Pug is a template engine that allows you to write cleaner templates with less repetition. In Angular, you can use Pug to write component templates and improve a project’s development workflow. In this article, Zara Cooper In will cover how you — as an Angular developer — can use Pug to write better templates more efficiently. You’ll learn how to install Pug in your Angular apps and transition exis

ZCZara CooperZara Cooper·May 28, 2020Frontend
Frontend — Code in the browser with GitHub Classroom

Code in the browser with GitHub Classroom

Learn about some new ways students can code in the browser. With online integrated development environments (IDEs), students can get right to work in a web browser, avoiding software conflicts that might happen on their local machines.

AJArelia JonesArelia Jones·May 26, 2020Frontend
Frontend — Getting Started With Axios In Nuxt — Smashing Magazine

Getting Started With Axios In Nuxt — Smashing Magazine

Axios is a promise-based HTTP client that works in the browser and Node.js environment or, in simpler terms, it is a tool for making requests in client-side applications and Node.js environment. In this tutorial, Timi Omoyeni will learn how to make a request in our Nuxt.js applications using the Axios module. You will also learn how to use the `ayncData` and `fetch` methods to fetch data on the se

TOTimi OmoyeniTimi Omoyeni·May 26, 2020Frontend
Frontend — Building Reusable React Components Using Tailwind — Smashing Magazine

Building Reusable React Components Using Tailwind — Smashing Magazine

Tailwind is a popular utility-first CSS framework that provides low-level class names to web developers. It does not have any JavaScript and works well with existing frameworks such as React, Vue, Angular, Ember, and others. Whilst this is positive, it can be confusing for new developers to understand how to integrate Tailwind in their applications. In this article, Tilo Mitra will explore ways to

TMTilo MitraTilo Mitra·May 25, 2020Frontend
Frontend — Understanding Machines: An Open Standard For JavaScript Functions — Smashing Magazine

Understanding Machines: An Open Standard For JavaScript Functions — Smashing Magazine

In this article, Kelvin Omereshone introduces you to machines, an open standard for JavaScript functions. At the end of this article, you should be familiar with what machines are and how to implement them. There is no special prerequisite for this article. If you can write a JavaScript function, then you’ll be able to follow along. With all that said, let’s dive in.

KOKelvin OmereshoneKelvin Omereshone·May 21, 2020Frontend
Frontend — WordPress Block Transforms

WordPress Block Transforms

This has been the year of Gutenberg for us here at CSS-Tricks. In fact, that's a goal we set at the end of last year. We're much further along that I thought

CCChris Coyier·May 19, 2020Frontend
Frontend — Animated Sparkles in React

Animated Sparkles in React

In this dazzling tutorial, we'll see how to build an animated component. Wrap it around text or images and watch them twinkle! This neat trick is a perfect way to emphasize positive or exciting things.

JWJosh W. Comeau·May 19, 2020Frontend
Frontend — Unprefixed `appearance `

Unprefixed `appearance `

It's interesting how third-parties are sometimes super involved in pushing browser things forward. One big story there was how Bloomberg hired Igalia to

CCChris Coyier·May 18, 2020Frontend
Frontend — How To Create A Mobile App In Expo And Firebase (For iOS And Android) — Smashing Magazine

How To Create A Mobile App In Expo And Firebase (For iOS And Android) — Smashing Magazine

The social media company released React Native, and it quickly became the most popular framework for building mobile apps with JavaScript. In this article, based on his experience with creating a GPS and navigation application, Chafik Gharbi will show you how to create a mobile app using Expo and Firebase services such as Firestore, Firebase functions and Expo push notifications.

CGChafik GharbiChafik Gharbi·May 18, 2020Frontend
Frontend — How to Tame Line Height in CSS

How to Tame Line Height in CSS

In CSS, line-height is probably one of the most misunderstood, yet commonly-used attributes. As designers and developers, when we think about line-height, we

CWCaleb WilliamsCaleb Williams·May 15, 2020Frontend
Frontend — CSS fix for 100vh in mobile WebKit

CSS fix for 100vh in mobile WebKit

A surprisingly common response when asking people about things they'd fix about anything in CSS, is to improve the handling of viewport units.

CCChris Coyier·May 15, 2020Frontend
Frontend — A Day in the Life of a Frontend Foundations Engineer at Slack

A Day in the Life of a Frontend Foundations Engineer at Slack

6:28 am First alarm rings. Snooze. 6:30 am Second alarm rings. Snooze. 6:34 am Final alarm rings and I know this is the last one, so I hop out of bed and immediately play some music. Music really has a way of waking me up, and I typically play Sofi Tukker or Rufus Du Sol…

SESlack Engineering·May 14, 2020Frontend
Frontend — Styling Components In React — Smashing Magazine

Styling Components In React — Smashing Magazine

React is a fantastic JavaScript library for building rich user interfaces. It provides a great component abstraction for organizing your interfaces into well-functioning code, but what about the look and feel of the app? There are various ways of styling React components from using stylesheets to using external styling libraries. In this article, Shedrack Akintayo will explain the cons and pros of

SAShedrack AkintayoShedrack Akintayo·May 14, 2020Frontend
Frontend — Rebuilding our tech stack for the new Facebook.com

Rebuilding our tech stack for the new Facebook.com

Facebook.com launched in 2004 as a simple, server-rendered PHP website. Over time, we’ve added layer upon layer of new technology to deliver more interactive features. Each of these new features and technologies incrementally slowed the site down and made it harder to maintain. This made it harder to introduce new experiences. Features like dark mode […]

MEMeta Engineering·May 8, 2020Frontend
Frontend — Angular + Jamstack! (Free Webinar)

Angular + Jamstack! (Free Webinar)

It's easy to think that working with Jamstack means working with some specific set of technologies. That's how it's traditionally been packaged for us. Think

GGGeoff GrahamGeoff Graham·May 5, 2020Frontend
Frontend — List Style Recipes

List Style Recipes

Lists are a fundamental part of HTML! They are useful in things like blog posts for listing out steps, recipes for listing ingredients, or items in a

CCChris Coyier·May 5, 2020Frontend
Frontend — CSS Functions Guide

CSS Functions Guide

Like any other programming language, CSS has functions. They can be inserted where you’d place a value, or in some cases, accompanying another value declaration.

EBEric BaileyEric Bailey·May 4, 2020Frontend
Frontend — No-Comma Color Functions in CSS

No-Comma Color Functions in CSS

There have been a couple of viral tweets about this lately, one from Adam Argyle and one from Mathias Bynes. This is a nice change that makes CSS a bit more

CCChris Coyier·May 4, 2020Frontend
Frontend — Accessible Animations in React

Accessible Animations in React

I really love animation, but not everybody does. In fact, it can make some people literally sick! In this tutorial, we'll see how to ensure that we respect user preferences, and create animations that can be disabled.

JWJosh W. Comeau·May 4, 2020Frontend
Frontend — Readability Algorithms Should Be Tools, Not Targets — Smashing Magazine

Readability Algorithms Should Be Tools, Not Targets — Smashing Magazine

In recent years a slew of ‘readability’ programs have appeared to help us tidy up the things we write. Used everywhere from newsrooms to browser plugins, these systems offer automated feedback on how writing can be clearer, neater, and less contrived. Sounds good right? Well, up to a point. Readability programs may seem like a godsend, but the worst thing writers can do is write to please them abo

FOFrederick O BrienFrederick O Brien·May 1, 2020Frontend
Frontend — CSS-Tricks Chronicle XXXVIII

CSS-Tricks Chronicle XXXVIII

Hey hey, these "chronicle" posts are little roundups of news that I haven't gotten a chance to link up yet. They are often things that I've done off-site,

CCChris Coyier·April 30, 2020Frontend
Frontend — Using Formik to Handle Forms in React

Using Formik to Handle Forms in React

There is no doubt that web forms play an integral role in our web site or applications. By default, they provide a useful set of elements and features — from

AAAdebiyi AdedotunAdebiyi Adedotun·April 28, 2020Frontend
Frontend — Implementing Dark Mode In React Apps Using styled-components — Smashing Magazine

Implementing Dark Mode In React Apps Using styled-components — Smashing Magazine

Light mode is a convention in most web and mobile apps. However, in modern development, we have seen how dark mode, which displays light text and interface elements on a dark background, is quickly becoming a user preference. In this article, Blessing Krofegha will show you how to efficiently implement dark mode in a React app on a simple web page, using the styled-components library and leveragin

BKBlessing KrofeghaBlessing Krofegha·April 28, 2020Frontend
Frontend — How to Make a CSS-Only Carousel

How to Make a CSS-Only Carousel

Editor's Note: Chrome is prototyping a new feature for creating carousels directly in CSS, including scroll buttons and scroll markers for navigating between

RRRobin RendleRobin Rendle·April 24, 2020Frontend
Frontend — The Quest for the Perfect Dark Mode

The Quest for the Perfect Dark Mode

Dark Mode has become common enough that it's a user expectation. And yet, creating the perfect dark mode with a statically-built site/app is deceptively tricky. In this in-depth tutorial, we'll see how to build the perfect, flicker-free, customizable theming solution for React/Next.js apps.

JWJosh W. Comeau·April 22, 2020Frontend
Frontend — Implementing Skeleton Screens In React — Smashing Magazine

Implementing Skeleton Screens In React — Smashing Magazine

Skeleton screens offer a better user experience by reducing loading-time frustration. By focusing on progress instead of wait times, it create the illusion for users that information will be incrementally displayed on the screen. In this tutorial, Blessing Krofegha will show you what a skeleton screen UI is and some types of skeleton screen libraries, along with their pros and cons. We’ll build a

BKBlessing KrofeghaBlessing Krofegha·April 20, 2020Frontend
Frontend — npm has joined GitHub

npm has joined GitHub

With the npm acquisition complete, we’re ready to start the next chapter of npm and support the JavaScript community in a new way.

JEJeremy EplingJeremy Epling·April 15, 2020Frontend
Frontend — Best Practices With React Hooks — Smashing Magazine

Best Practices With React Hooks — Smashing Magazine

React provides a few built-in Hooks like useState. You can also create your own Hooks to reuse stateful behavior between different components. The example below shows a counter whose state is managed using the useState() hook. Each time you click on the button, we make use of setCount() to update the value of count by 1. In this article, Adeneye David Abiodun covers the rules of React Hooks and ho

ADAdeneye David AbiodunAdeneye David Abiodun·April 15, 2020Frontend
Frontend — How To Create A Particle Trail Animation In JavaScript — Smashing Magazine

How To Create A Particle Trail Animation In JavaScript — Smashing Magazine

If you are thinking about distracting visitors of your website with a fancy, glittering particle animation for a few moments, while some data is loaded in the background, all you need is some basic knowledge of CSS and JavaScript and a lightweight animation library such as anime.js. In the end, we should have the following result: Particle animations belong to the most impressive animations that e

APAnna PrenzelAnna Prenzel·April 14, 2020Frontend
Frontend — No-Class CSS Frameworks

No-Class CSS Frameworks

I linked up Water.css not long ago as an interesting sort of CSS framework. No classes. No <h2 class="is-title">. You just use semantic HTML and get

CCChris Coyier·April 13, 2020Frontend
Frontend — CSS Variables for React Devs

CSS Variables for React Devs

CSS variables are *really* cool, and they're incredibly powerful when it comes to React! This tutorial shows how we can use them with React to create dynamic themes. We'll see how to get the most out of CSS-in-JS tools like styled-components, and how our mental frame around media queries has been wrong all along.

JWJosh W. Comeau·April 13, 2020Frontend
Frontend — Inspired Design Decisions With Herb Lubalin: Typography Can Be As Exciting As Illustration And Photography — Smashing Magazine

Inspired Design Decisions With Herb Lubalin: Typography Can Be As Exciting As Illustration And Photography — Smashing Magazine

In this eighth issue of Inspired Design Decisions, Andy Clarke will explain how learning about American graphic designer and typographer Herb Lubalin has transformed his approach to typography on the web. How can we combine elements to develop powerful headers and calls to action? How do we use pre-formatted HTML text, and the text element in SVG for precise control over type? How can we optimise

ACAndy ClarkeAndy Clarke·April 13, 2020Frontend
Frontend — Getting Started With The React Hooks API — Smashing Magazine

Getting Started With The React Hooks API — Smashing Magazine

In this tutorial, you are going to learn and understand what React hooks are, the basic React Hooks that are available and also examples of how to write them for your React applications. In the process, you will also get to know about some additional hooks that were shipped with React 16.8 and also how to write your own custom React Hooks.

SAShedrack AkintayoShedrack Akintayo·April 10, 2020Frontend
Frontend — Styling Ordered Lists with CSS Counters

Styling Ordered Lists with CSS Counters

Styling an ordered list can be surprisingly tricky; there's no way to get at that bullet! In this tutorial, we'll see a handy trick using CSS counters that lets us style ordered lists without breaking proper semantics.

JWJosh W. Comeau·April 7, 2020Frontend
Frontend — Building Arrive's Confetti in React Native with Reanimated - Shopify

Building Arrive's Confetti in React Native with Reanimated - Shopify

Shopify is investing in React Native as our primary choice of mobile technology moving forward. As a part of this we’ve rewritten our package tracking app Arrive with React Native and launched it on Android—an app that previously only had an iOS version. One of the most cherished features by the users of the Arrive iOS app is the confetti that rains down on the screen when an order is delivered. T

SEShopify Engineering·April 7, 2020Frontend
Frontend — CSS-Only Marquee Effect

CSS-Only Marquee Effect

You make sure the text is more than twice the width of the screen, then use negative translate animations to do the marquee movement.

CCChris Coyier·April 5, 2020Frontend
Frontend — Accessibility Links

Accessibility Links

Austin Gil has kicked off the first in a five-part series about "HTML Forms Right" and to starts with semantics. It's talking to the "we build our front-ends

CCChris Coyier·April 2, 2020Frontend