Create A Custom Button In Next.js

We’re going to walk you through how to create a custom button in Next.js. This article will help you abstract the button so that you’re not copy pasting the core code everywhere throughout your application. This helps with application organization which might not be a huge problem when your application is tiny. But it’ll be …

Read more

Calculate A Random Integer from 0 to n in Javascript

The solution for those of you who want me to cut the crap and need to calculate a random integer from 0 to n in Javascript. My Setup macOS Node v12.10.0 The Problem I was writing a React-Native game where I had multiple cards that would be presented to the player. To spice up the …

Read more

Cast a String Array of JSON Objects to JSON in Javascript

I recently came across a situation where I had to to save an array of objects to a local device so that I could pull that info up later. My problem was that I had to change that array of objects into a string before saving it. Thus, I had to cast a string array …

Read more