16 - CSS Grid Generator || Advent of JavaScript

Build a CSS Grid Generator. When you adjust the number of rows in the sidebar, it will adjust the number of rows in the grid. When you adjust the number of columns in the sidebar, it will adjust the number of columns in the grid. When you adjust the column gap or row gap, the grid updates accordingly. When you adjust the column or grid sizes, the grid updates accordingly. When you click on the “Get Code” button, a panel slides in from the right with the HTML and CSS code. You can click on the “Copy to Clipboard” button and the code gets copied to your clipboard. When you click on the “X” in the top right corner, the panel closes.

Solution

CSS Grid Generator

CSS

HTML