Grid has a shortcut for defining columns quickly, and that's the repeat() function. For example, repeat(3, 1fr) means 3 columns of 1fr each.
repeat()
repeat(3, 1fr)
1fr
Make sure to pick repeat followed by ( and then 3, ,, 1fr, ).
repeat
(
3
,
)