Situation: I am currently working on a website-design which requires me to fill up the entire screen with 60px x 60px
DIVs. They are merely like tiles on a wall except that it is required to have that many of them, because each one has to get its colour changed to a random value upon hovering.
Problem: If the monitor resolution changes, the number of DIVs changes. I realise that I need to spawn those tiled DIVs with respect to the screen size. I also realise that this might be done using javascript
Question: How can this be done?