Home/Frontend
Topic

Frontend

1,512 articles on Frontend.

11,739 articles
Frontend — Why JavaScript is Eating HTML

Why JavaScript is Eating HTML

Web development is always changing. One trend in particular has become very popular lately, and it fundamentally goes against the conventional wisdom about

MTMike TurleyMike Turley·February 13, 2020Frontend
Frontend — Setting Up API Mocking With Mirage JS And Vue.js — Smashing Magazine

Setting Up API Mocking With Mirage JS And Vue.js — Smashing Magazine

Almost all JavaScript projects that can be found out in the wild interact with a web service or API and either use it for authentications or getting user-related data. In this article, Kelvin Omereshone introduces Mirage JS, an API mocking library that lets you build, test and share a complete working JavaScript application without having to rely on any backend API or services. You’ll also learn h

KOKelvin OmereshoneKelvin Omereshone·February 13, 2020Frontend
Frontend — Understanding CSS Grid: Grid Template Areas — Smashing Magazine

Understanding CSS Grid: Grid Template Areas — Smashing Magazine

In a new series, Rachel Andrew breaks down the CSS Grid Layout specification. This time, Rachel Andrew will learn how to use the grid-template-areas property to define placement on the grid and find out how the property really works. If you haven’t used this layout method before, give it a try. We find that it is a lovely way to experiment with layouts and often use it when prototyping a layout —

RARachel AndrewRachel Andrew·February 12, 2020Frontend
Frontend — The Hooks of React Router

The Hooks of React Router

React Router 5 embraces the power of hooks and has introduced four different hooks to help with routing. You will find this article useful if you are looking

AMAgney MenonAgney Menon·February 11, 2020Frontend
Frontend — An Interview With Rémi Parmentier: A SmashingConf Austin Speaker — Smashing Magazine

An Interview With Rémi Parmentier: A SmashingConf Austin Speaker — Smashing Magazine

SmashingConf is coming to Austin, and in this post, Rachel Andrew brings you an interview with one of our speakers, Rémi Parmentier, who will be presenting on HTML email and aiming to solve all of your email creation woes. You can find all of that content, including a full transcript of the webinar in the post “Become An HTML Email Geek With These Videos From Rémi Parmentier.

RARachel AndrewRachel Andrew·February 10, 2020Frontend
Frontend — How To Create Maps With React And Leaflet — Smashing Magazine

How To Create Maps With React And Leaflet — Smashing Magazine

Leaflet is a very powerful tool, and we can create a lot of different kinds of maps. This tutorial will help you understand how to create an advanced map along with the help of React and Vanilla JS. In this article, Shajia Abidi is going to represent the locations of the non-medical fire incidents to which the SF Fire Department responded on a map.

SAShajia AbidiShajia Abidi·February 7, 2020Frontend
Frontend — Browser Version Release Spectrum

Browser Version Release Spectrum

Whenever a browser upgrades versions, it's a little marketing event, and rightly so. Looks like for Firefox it's about once a month, Chrome is ~6 weeks, and

CCChris Coyier·February 5, 2020Frontend
Frontend — A Day in the Life of a Frontend Product Engineer at Slack

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

6:45am The sound of coffee grinding wakes me up 15 minutes before my alarm. I’m not a morning person, but I always stumble bleary-eyed into the kitchen for some toast and coffee with my partner, which is my favorite daily ritual. I sit down, listen to my morning news podcasts — The Daily and AM…

SESlack Engineering·February 5, 2020Frontend
Frontend — Magic Flip Cards: Solving A Common Sizing Problem — Smashing Magazine

Magic Flip Cards: Solving A Common Sizing Problem — Smashing Magazine

In this article, Dan Halliday reviews the standard approach to creating animated flip cards, and introduces an improved method which solves its sizing problem. You’re going to build a flip card grid with some CSS basics — transforms, flex, and grid. Dan will cover: how flip cards are usually implemented using absolute positioning, the sizing problem that absolute positioning introduces, and a gene

DHDan HallidayDan Halliday·February 5, 2020Frontend
Frontend — CSS4

CSS4

What is CSS4? Is it a real thing? I hate to break it to you, but not really. But maybe we could make it a thing? CSS3 was successful, so why not keep that train rolling like they do in JavaScript?

CCChris Coyier·February 4, 2020Frontend
Frontend — How To Create A Card Matching Game Using Angular And RxJS — Smashing Magazine

How To Create A Card Matching Game Using Angular And RxJS — Smashing Magazine

Today, Anna Prenzel would like to focus on data streams resulting from click events on the user interface. The processing of such clickstreams is particularly useful for applications with an intensive user interaction where many events have to be processed. This article is dedicated to Angular developers who want to harness the concept of reactive programming. This is a programming style that — si

APAnna PrenzelAnna Prenzel·January 30, 2020Frontend
Frontend — Building Multi-Directional Layouts

Building Multi-Directional Layouts

There are some new features in CSS that can assist us with building layouts for different directions and languages with ease. This article is about CSS

AEAhmad El-AlfyAhmad El-Alfy·January 23, 2020Frontend
Frontend — Component-Level CMSs

Component-Level CMSs

When a component lives in an environment where the data queries populating it live nearby, there is a pretty direct line between the visual component and the

CCChris Coyier·January 23, 2020Frontend
Frontend — How To Pass Data Between Components In Vue.js — Smashing Magazine

How To Pass Data Between Components In Vue.js — Smashing Magazine

Unless you’re creating your entire Vue app in one component (which wouldn’t make any sense), you’re going to encounter situations where you need to share data between components. With so many different ways to share data across components, you should know which technique is best for your situation. In this article, Matt Maribojoc will analyze three of the most common ways to pass data in VueJS.

MMMatt MaribojocMatt Maribojoc·January 22, 2020Frontend
Frontend — Edgium

Edgium

January 15th, 2020 was the day Microsoft Edge went Chromium. A drop in browser engine diversity. There is a strong argument to be made that's not good for an

CCChris Coyier·January 21, 2020Frontend
Frontend — Recreating The Arduino Pushbutton Using SVG And — Smashing Magazine

Recreating The Arduino Pushbutton Using SVG And — Smashing Magazine

HTML comes with a bunch of input controls, and there are tons of component libraries that include many standard controls such as checkboxes, and radio buttons. But what happens when you need something unusual? In this article, Uri Shaked will show you how to build custom HTML components that mimic physical objects, such as the Arduino Pushbutton. We’ll draw the component in Inkscape from scratch,

USUri ShakedUri Shaked·January 20, 2020Frontend
Frontend — Autumn (macOS window manager)

Autumn (macOS window manager)

I love how nerdy this is. Autumn allows you to write JavaScript to control your windows. Get this window, move it over here. Nudge this window over. There are

CCChris Coyier·January 17, 2020Frontend
Frontend — How many CSS properties are there?

How many CSS properties are there?

Tomasz Łakomy posted a joke tweet about naming all the CSS attributes and Tejas Kumar replied with a joke answer, going as far as making an npm module. You

CCChris Coyier·January 14, 2020Frontend
Frontend — Magical Rainbow Gradients

Magical Rainbow Gradients

If you've ever tried to animate a gradient, you've been met with a harsh reality—it isn't possible. At least, it wasn't! In this tutorial, we'll leverage bleeding-edge browser features to animate ANY CSS property, including background gradients, using CSS Houdini, CSS variables, and React.

JWJosh W. Comeau·January 13, 2020Frontend
Frontend — An Introduction To React’s Context API — Smashing Magazine

An Introduction To React’s Context API — Smashing Magazine

In this article, Yusuff Faruq will show you how to use React’s Context API which allows you to manage global application states in your React apps without resorting to props drilling. In the process you will learn what the Context API is and the problem it solves, how to create Context and consuming it in both functional and class-based components, and when to use the Context API. Let’s start!

YFYusuff FaruqYusuff Faruq·January 13, 2020Frontend
Frontend — CSS-Only Carousel

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

CCChris Coyier·January 10, 2020Frontend
Frontend — Understanding CSS Grid: Grid Lines — Smashing Magazine

Understanding CSS Grid: Grid Lines — Smashing Magazine

In a new series, Rachel Andrew breaks down the CSS Grid Layout specification. This time, we take a look at how to use the grid lines to place items. The other methods Rachel will show you in future articles are alternate ways to specify your layout, but are based on the grid created by numbered lines. But for today, here you will find pretty much all you need to know about grid lines!

RARachel AndrewRachel Andrew·January 10, 2020Frontend
Frontend — Understanding Async Await

Understanding Async Await

When writing code for the web, eventually you'll need to do some process that might take a few moments to complete. JavaScript can't really multitask, so

SDSarah DrasnerSarah Drasner·January 9, 2020Frontend
Frontend — let vs. const

let vs. const

There are multiple ways to declare variables in JavaScript. We had var, and while that still works like it always has, it is generally said that let and const

CCChris Coyier·January 9, 2020Frontend
Frontend — How To Create And Deploy Angular Material Application — Smashing Magazine

How To Create And Deploy Angular Material Application — Smashing Magazine

A walkthrough of creating an Angular 8 web application and a QR Code generator app completely based on Angular while hosted on Netlify. In this article, Shubham will take you into a walkthrough of creating an Angular 8 web application using the official Angular Material Design library. We will be creating a QR Code generator web application completely based on Angular while hosted on Netlify.

SSShubham SsjShubham Ssj·January 9, 2020Frontend
Frontend — Cloudflare + Remote Browser Isolation

Cloudflare + Remote Browser Isolation

Cloudflare announced today that it has purchased S2 Systems Corporation, a Seattle-area startup that has built an innovative remote browser isolation solution unlike any other currently in the market.

DDarrenDarren·January 7, 2020Frontend
Frontend — How to Build Your Resume on npm

How to Build Your Resume on npm

Just yesterday, Ali Churcher shared a neat way to make a resume using a CSS Grid layout. Let’s build off that a bit by creating a template that we can spin up

MAMaks AkymenkoMaks Akymenko·January 2, 2020Frontend