Specific Range of numbers formula

PHOTO EMBED

Fri Sep 23 2022 10:41:31 GMT+0000 (UTC)

Saved by @Kristi #css

const randomInt = (min, max) =>
  Math.floor(Math.random() * (max - min + 1) + min);
content_copyCOPY

https://teamtreehouse.com/community/mathfloor-mathrandom-max-min-1-min-explanation