Create a web app with a grid of clickable cells. The app should:
- Create the grid programatically using JavaScript that:
- Uses a variable for the number of rows and columns.
- Doesn’t use a canvas element.
- Should center the grid in the window using CSS.
- Toggle background color in response to clicks.