Complete the code to define a color variable in Sass.
$primary-color: [1];In Sass, variables start with $. Here, $primary-color is set to a hex color code #3498db.
Complete the code to use the variable $primary-color for the background color.
button {
background-color: [1];
}$ sign.# before the variable.To use a Sass variable, include the $ sign before the variable name.
Fix the error in the code to correctly use the variable for font color.
p {
color: [1];
}$.Variables in Sass must be referenced with the $ sign. Without it, Sass treats it as a plain string.
Fill both blanks to create a variable and use it for border color.
[1]: #e74c3c; .box { border: 2px solid [2]; }
$ sign in either place.First, define the variable $alert-color with the color value. Then use the same variable name to set the border color.
Fill all three blanks to define variables and use them for background and text colors.
[1]: #2ecc71; [2]: #ffffff; .card { background-color: [3]; color: $text-color; }
$ sign.Define $bg-color and $text-color variables. Then use $bg-color for the background color and $text-color for the text color.