This example sets different speed values for the delay() method.
Click to fade in boxes with a delay
Slow Speed
Fast Speed
800 ms.
2000 ms.
4000 ms.