'Label x and y axis of grid cells in JavaScript

I wanna make a game of 2048 but I am facing problem in making x and y axis of each cell of grid. How can I do my work. Please help me! Url of code [Url][1][1]: https://codepen.io/Coder-Rohit4326/pen/PoEegyy



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source