Introducing darkmodejs
Utility package for managing Dark Mode on the web, thanks to matchMedia and prefers-color-scheme media queries
All posts on Assortment tagged with JavaScript
View all tagsUtility package for managing Dark Mode on the web, thanks to matchMedia and prefers-color-scheme media queries
Building site search for a static website isn't easy. Here's how you can leverage Lunr.js to create search components that are accessible, fast and extensible.
With a move towards Gatsby, Emotion and Netlify, things are changing for Assortment. Here’s an overview of the platform's architecture moving forward.
Continuing our mission to build a Modal component that is accessible to all users, regardless of their current situation.
Understanding how to build a reusable Modal component using the latest features from React and ES6 that's accessible for all users.
What defines a pure function? More importantly, when should you use them in a project?
Examples of how you can use CSS or JavaScript to make working with long strings of text that bit easier.
Taking a neutral look at whether or not a Progressively Enhanced approach to JavaScript makes sense for all Websites?
You know those little hash links at the side of each heading on every blog post here at Assortment? This is how you can dynamically create them.