Color Picker

Step 6: When the random color button is clicked, move each slider to a random color value. You will change the box color in the next step.
Hint: Move a slider by setting its value to a number:
redSlider.value = someNumber
Use the Math.random method to generate a random number. Refer to this illustration to understand how Math.random works.
Last step Next step