Objectives
We will create a simple little game:
The HTML content of the page will be basic:
The CSS will also be basic:
#zone.itemIn the JavaScript part, we need to achieve several objectives.
First, we need to create a function (which we could call popItem()) that adds an element to the game area.
This element must meet the following constraints:
item must be associatedtop and left style properties to get random values and stay within the game area limits#chronoList to display the reaction timeThis main objective involves secondary objectives:
popItem function?