Complete the code to set the width to 100 pixels.
$width: 100[1];
The px unit means pixels, which sets the width to exactly 100 pixels.
Complete the code to set the font size to 1.5 times the root element's font size.
font-size: 1.5[1];
em instead of rem when root-relative size is needed.px which is fixed and not scalable.The rem unit means relative to the root element's font size, so 1.5rem scales accordingly.
Fix the error in the code to correctly add 10 pixels to the margin.
margin: 20px + [1];
em which causes unit mismatch.When adding lengths in Sass, both values must have units. So 10px is correct.
Fill both blanks to create a Sass map with font sizes in rem units for small and large text.
$font-sizes: (small: [1], large: [2]);
The small font size is 0.875rem and the large font size is 2rem, both relative to root font size.
Fill all three blanks to create a Sass map that stores widths with different units.
$widths: (mobile: [1], tablet: [2], desktop: [3]);
The mobile width is 320px, tablet width is 768px, and desktop width is 64rem for scalable layout.