Complete the code to create a 12-column grid in Figma.
frame.layoutGrid = [{ type: '[1]', count: 12 }]In Figma, to create a column grid, you set the layoutGrid type to 'columns'.
Complete the code to set the gutter width between columns to 20 pixels.
frame.layoutGrid[0].[1] = 20
The property 'gutterSize' controls the space between columns in a Figma layout grid.
Fix the error in the code to set the grid type to rows instead of columns.
frame.layoutGrid = [{ type: '[1]', count: 8 }]To create a row grid, the type must be set to 'rows'.
Fill both blanks to create a grid with 6 columns and a margin of 24 pixels.
frame.layoutGrid = [{ type: '[1]', count: 6, [2]: 24 }]Use 'columns' for the grid type and 'margin' to set the outer space around the columns.
Fill all three blanks to create a 4-column grid with 16px gutter and 32px margin.
frame.layoutGrid = [{ type: '[1]', count: 4, [2]: 16, [3]: 32 }]Set type to 'columns', gutterSize to 16, and margin to 32 for the desired grid.
