Javascript – How to create random number between given range
I have the following problem: Given is an 8-column grid. Now I want to place an item randomly inside it with a random span-width. I figured it out, how to place it randomly and give it a random width. But…