Vanilla JavaScript code to generate dynamic boxes based on the input value. Clicking on each box will alert its position.
Live Demo - https://chiragobhan.github.io/js-box-generator/
chiragobhan/js-box-generator
Vanilla JavaScript code to generate dynamic boxes based on the input value.
HTML