Which Sass function is used to get the random number between 0 and 1?

33. Which Sass function is used to get the random number between 0 and 1?

  1. random(0,1)
  2. random()
  3. randomize()
  4. random-number()

Answer: B) random()

Explanation:

The random() function is used to get the random number between 0 and 1.

Example:

random()
Result: 0.12389

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.