Build a 3×3 grid of light cells (omitting the center cell),where you can click on the cells to activate them (turn green). When all the cells have been activated,they will be deactivated one-by-one in the reverse order they were activated,with a 300ms interval in between. A practical UI problem involving event ordering, async timing, and…