Changer la couleur de fond aléatoirement
à intervalle de temps régulier
avec bouton de démarrage et bouton d'arrêt

La page

 


Le code

Le code HTML

<html>
<head>
</head>
<body id="page">
  <p style="text-align:center"><input type="button" value="Démarrer" id="btnStart">&nbsp;<input type="button" value="Arrêter" id="btnStop"></p>
</body>
</html>

Le code JAVASCRIPT