JSFiddle - React, Tailwind, and code Playground

by kurotanshi

JavaScript

function getRandomInt(min, max) {
  return Math.floor(Math.random() * (max - min + 1)) + min;
}