DEV Community

Discussion on: Rethinking Gameboards

Collapse
 
parenttobias profile image
Toby Parent

Done and done. Easier change than I'd expected - update the CSS grid-template-areas, then update the class to calculate the clicked grid-area (using Math.ceil() rather than Math.floor()), and working fine.

Thank you again!