Question · HTML and CSS course · Module 7: SASS
The map.get() Function in SASS
How do you retrieve a value from a SASS map called $colors for the key 'primary' with the recommended module syntax (after @use "sass:map")?
Answer options
- get-map($colors, 'primary')
- map.get($colors, 'primary')
- $colors.get('primary')
- $colors['primary']
You can check the correct answer by solving this task in the CodeWorlds game.