Math.random()
generates series of decimal numbers from 0(inclusive) to 1(not inclusive). So we can have numbers like 0.21724877044031787, 0.814708270731549 and so on.
So, we need to convert these numbers to whole numbers in a specified range. We'd pick 3 to 7 here.
How can we do that ? 💭💭💭
We need to multiply the random number with a number. I know it might not sound so cool, like "why not just multiply it with 2 or 5 or 7", but it's a lot more than that because we need the number to be in the specified range.
And that number actually is (MAX - MIN + 1) + MIN
= (7 - 3 + 1) + 3