All posts

Bit-sized video tutorials and written explainations.

hunter
Hunter Becton

July 21, 2022

Confirming the colors work well together when designing a website can be challenging. But did you know that ensuring they also work well with the WCAG (Web Content Accessibility Guidelines) color contrast standards are equally important?  In the United States alone, 3.8 million adults aged 21-6 ...

Accessibility

hunter
Hunter Becton

July 1, 2022

Have you ever been confused about the spacing between elements on a webpage? Why are some boxes closer together and some farther apart? Simply put, web browsers represent each element on a webpage as a rectangular box. This concept is known as the CSS Box Model. Watch the lesson CSS Box Mod ...

CSS

hunter
Hunter Becton

May 25, 2022

If your page loads and you see a broken image, it can be pretty jarring and prevent users from exploring your content. The fix is simple: include an image that is a placeholder for the broken image, so nothing falls apart when it doesn't load. This post will describe one way to do this in React ...

Next.js

React

hunter
Hunter Becton

April 23, 2022

Hooking up your navigation bar to respond to user interaction is a great way to improve the user experience. For example, when the user scrolls down, you can add a slight shadow to the top of the navigation to make it look like it's lying on the page. In this lesson, you'll use a custom React h ...

JavaScript

hunter
Hunter Becton

March 24, 2022

A lot of JavaScript developers reach for a library like date-fns when working with dates in JavaScript. Although a library like date-fns provides a lot of functionality, you may not even need it. For example, you can use the built-in JavaScript Date method toLocaleString() to format a timestamp...

JavaScript

hunter
Hunter Becton

September 9, 2021

I'm working on a new project called Mattermix that enables users to create graphic design assets from HTML and CSS using a browser-based editor and API. The browser-based editor needs enough space to write HTML and CSS, create data form fields, and see the rendered code. That's a lot to fit on...

React

hunter
Hunter Becton

August 6, 2021

A lot of sites, including this one for some time, don't have an easy way for their users to get back to the top of the page. Sure, the user could manually scroll, but this can be frustrating, especially on really long pages. That's why a button, usually positioned in the bottom-right of the pag ...

React

hunter
Hunter Becton

July 20, 2021

Next.js makes it simple to implement static generation (SSG) and server-side rendering (SSR) in React applications. SSG pages pre-render the HTML at build time and can be served instantly from a global CDN. However, SSR pages pre-render the HTML on every request, which slows the time to the firs ...

React

Next.js

hunter
Hunter Becton

June 24, 2021

I was working on a project that required hundreds of components that would be used as templates for editing and exporting social media graphics. I could have created every component in the code base, but I was worried this would make the code unnecessarily bloated and hard to manage. So, I thoug...

React

hunter
Hunter Becton

June 15, 2021

I was working on a multi-tenant application that required tenants to log in on their own subdomain. The subdomain would be used to identify the tenant for Firebase multi-tenancy authentication and MongoDB documents. I knew it was simple to set up subdomain support in production using something l ...

Tools