This hooks objective is to enable and disable the dark mode on-demand and store the current state using localStorage. Also with useMedia, we can check the user's browser preference for dark mode, so we can set a default.

We can sync state with localStorage by using a useLocalStorage hook. We…


I used the HTML canvas element when creating my personal website. While browsing other’s personal websites, I got the idea of having an interactive object using canvas and the user’s cursor.

The HTML <canvas> element is used to draw graphics, on the fly, via scripting (usually JavaScript). The <canvas> element…


I’ve been working on creating another website and trying to improve my front-end creativity and styling. I’m using this blog to write down and share some of the things I’ve learned recently.

background-blend-mode

Using CSS blend modes is a great way to unify the look of the content across your website…


Starting a job search for the first time in my life has been quite a journey. I’m only one week in and I feel like it’s a lot to cover. I’ve been reading some articles and watching some videos to help me prepare for this, and I’ve written down some…


When you choose to make a React Native app, you have 2 options to get your project up and running. In the React Native docs Setting up the development environment page, you can follow the Expo CLI, or React Native CLI Quickstart guide. …


If you don’t like writing lots of CSS code, Bootstrap is a way to give you more time to spend on designing your webpages. It helps quicken and ease the process of writing CSS, and allows you to skip out on at lot of minor details that have already been…


Setting up the Devise gem for your rails app.

Devise is a flexible authentication solution for Rails based on Warden. It is Rack based with a complete MVC solution based on Rails engines. …


The best gems to make your CLI application look clean.

For the first time in my life, I will be writing a CLI application. What better way to prepare myself then to do some research? In that searching, I’ve found some of the best gems to work with. Here I’m…

Matt Ericksen

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store