You are going to make a "pixel grid". Meaning showing "boxes" in horizontal and vertical direction. The input fields determines the size of the grid, meaning it sets the width and height.
display: inline-block;
(CSS) so that all the div boxes stay on the same line