CSS Advanced Sass Advanced Variables, Mixins, Functions, and Placeholders Functions

please help....

Challenge Task 1 of 1 Write a function, named multiply, that takes a value as an argument, then returns that value multiplied by 2.

_function.scss

1 Answer

Romain Gaget
Romain Gaget
24,449 Points
/* Create a function name multiply with one argument*/
@function multiply($value) {
@return $value *2 //return the $value argument and multiply it by 2
}

thanks Romain...