How to build Circles Game in React.js? Frontend Coding Challenge

In this UI coding challenge, the candidate needs to build a simple React app where a circle should appear wherever user clicks on the screen. It should support undo and redo operations.

Functional Requirements -A circle should appear where the user clicks on the screen. -The circle should be assigned a random color from the pre-defined list of colors. -The app should support Undo operation that removes the circles in the inverse order of insertion. -The app should support Redo operation that adds the circle back removed via Undo. -The app should support Reset operation that resets the board to its original state. -The controls should be disabled when there is nothing to undo, redo, or reset. -The circles should have fade-in/scale animation upon entering and exiting the screen.