Choisir la couleur de fond parmis 3 couleurs

La page

   

Cliquer sur l'un des boutons pour changer la couleur du fond...

Le code

Le code HTML

<html>
<head>
</head>
<body id="page">
  <p style="text-align:center"><input type="button" id="btn1" value="Rouge" >&nbsp;<input type="button" id="btn2" value="Vert">&nbsp;<input type="button" id="btn3" value="Bleu">&nbsp;<input type="button" id="btn4" value="Blanc"></p>
  <p style="font-size:80%; text-align:center; font-style:italic">Cliquer sur l'un des boutons pour changer la couleur du fond...</p>
</body>
</html>

Le code JavaScript