Home UX Design

UX Design

The Challenges with Single Toggle Buttons

Toggle buttons should do three things — change states, show the current state, and reveal unselected options. If your toggle button doesn’t...

Why You Shouldn’t Gray Out Disabled Buttons

What should you do if you have a button that isn’t active in a given context? Removing the button from its native...

When You Need to Show a Button’s Loading State

Buttons have more than an enabled and disabled state. They also have a loading state. The loading state isn’t usually shown to...
- Advertisment -

Most Read

The Binary Search Algorithm in JavaScript

In this post, I'll compare linear search and binary search algorithms. You'll see pseudocode for each algorithm, along with examples and a...

JavaScript Callbacks, Promises, and Async Functions|Part 2

Introduction In part one of this tutorial, we learned the principles behind asynchronous programming and using callbacks. To review,...

JavaScript Callbacks, Promises, and Async Functions| Part 1

Introduction There is a lot of talk about asynchronous programming, but what exactly is the big deal? The big...

JavaScript Best Practices for Beginners

1. Use === Instead of == JavaScript utilizes two different kinds of equality operators: === | !== and == | != It is considered best practice to...