
I wrote a JS function that took input from the user (a mouse click) and generated a randomly sized, colored, and placed square each time the input was received.

I wrote a JS function that took input from the user (a mouse click) and generated a randomly sized, colored, and placed square each time the input was received.