Complete the code to define a breakpoint variable for mobile screens.
$mobile: [1];The variable $mobile is set to 480px, which is a common width for mobile devices.
Complete the code to create a map of breakpoints with keys for mobile and tablet.
$breakpoints: (mobile: [1], tablet: 768px);
The mobile key in the map is set to 480px, matching the mobile breakpoint.
Fix the error in the map definition by completing the missing value.
$breakpoints: (mobile: 480px, tablet: [1]);
The value must include the unit px to be valid in Sass maps.
Fill both blanks to add a desktop breakpoint and use the map to get the tablet size.
$breakpoints: (mobile: 480px, tablet: 768px, desktop: [1]); $tablet-size: map-get($breakpoints, [2]);
map-get.The desktop breakpoint is set to 1024px. The map-get function retrieves the value for the tablet key.
Fill all three blanks to define breakpoints and use them in a media query.
@media (min-width: [1]) { body { font-size: [2]; } } $breakpoints: (mobile: 480px, tablet: 768px, desktop: [3]);
The media query uses the tablet breakpoint 768px for minimum width. Inside, the font size is set to 1.2rem. The desktop breakpoint is defined as 1024px.