To create grid rows and columns in one line, code the grid-template property.
grid-template
Make sure to pick grid, followed by -, and finally template.
grid
-
template