Feat(NSI): exercices sur les dictionnaires
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
const maximum = parseInt(document.getElementById("max").value)
|
||||
randomNumber = Math.floor(Math.random() * maximum) + 1;
|
||||
tries = 0
|
||||
document.getElementById("game").innerHTML = "<h2> Trouve un nombre entre 0 et " + maximum + "</h2>"+
|
||||
document.getElementById("game").innerHTML = "<h2> J'ai choisi un nombre, il est entre 0 et " + maximum + ". Trouve le!</h2>"+
|
||||
"<input type='text' id='guess'>" +
|
||||
`<button id="subbutton" type='button' onclick='guessNumber()'>Je tente !</button>` +
|
||||
"<p id='result'></p>"
|
||||
|
Reference in New Issue
Block a user