add interaction with html form to set the duration
add a color change as time goes by