0
0
Figmabi_tool~10 mins

Padding control in Figma - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to set padding inside a frame in Figma.

Figma
frame.padding[1] = 16
Drag options to blanks, or click blank then click option'
A.top
B.left
C.all
D.bottom
Attempts:
3 left
💡 Hint
Common Mistakes
Using .top or .left sets padding only on one side.
For uniform padding, .all is needed.
2fill in blank
medium

Complete the code to increase the left padding of a frame.

Figma
frame.padding[1] += 8
Drag options to blanks, or click blank then click option'
A.right
B.left
C.bottom
D.top
Attempts:
3 left
💡 Hint
Common Mistakes
Using .right or .top changes padding on other sides.
For left padding, use .left.
3fill in blank
hard

Fix the error in the code to set vertical padding correctly.

Figma
frame.padding[1] = 12
Drag options to blanks, or click blank then click option'
A.vertical
B.horizontal
C.all
D.top
Attempts:
3 left
💡 Hint
Common Mistakes
Using .horizontal affects left and right, not vertical.
Using .all sets all sides, not just vertical.
4fill in blank
hard

Fill both blanks to set horizontal padding and then reduce bottom padding.

Figma
frame.padding[1] = 20
frame.padding[2] -= 5
Drag options to blanks, or click blank then click option'
A.horizontal
B.vertical
C.bottom
D.top
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing vertical and horizontal properties.
Trying to reduce padding on a side not specified.
5fill in blank
hard

Fill all three blanks to set top padding, increase right padding, and set all padding to 10.

Figma
frame.padding[1] = 15
frame.padding[2] += 5
frame.padding[3] = 10
Drag options to blanks, or click blank then click option'
A.top
B.right
C.all
D.left
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up side names.
Setting all padding before individual sides.