|
|
@ -8,8 +8,8 @@ |
|
|
|
<body> |
|
|
|
<h1><marquee width="600" scrollamount="600"scrolldelay="500">casino jackpot </marquee></h1> |
|
|
|
|
|
|
|
<input type="number" id="name" |
|
|
|
minlength="4" maxlength="8" size="10" required> |
|
|
|
<input type="text" id="name" |
|
|
|
minlength="4" maxlength="8" size="10" > |
|
|
|
<input type="button" value="Démarrer la machine" onclick="nbAlea()"> |
|
|
|
<input type="button" value="affiche les régles" onclick="regles()"> |
|
|
|
<p id="a"></p> |
|
|
@ -84,6 +84,7 @@ function nbAlea(){ |
|
|
|
} |
|
|
|
else{ |
|
|
|
document.getElementById("a").innerHTML = "la saisie n'est pas ,ou plus valide"; |
|
|
|
document.getElementById("b").innerHTML = " "; |
|
|
|
} |
|
|
|
} |
|
|
|
function regles(){ |
|
|
|