diff --git a/app.js b/app.js index 9f5cb21..3087292 100644 --- a/app.js +++ b/app.js @@ -113,7 +113,9 @@ function gain(tirage){ return 0 } function regles(){ - //afficher règles + let overlay = document.getElementById("overlay-rules") + if(overlay.style.display == "none") overlay.style.display = "flex" + else overlay.style.display = "none" } input.addEventListener("input", (e)=>{ diff --git a/index.html b/index.html index c831067..f1f5ab3 100644 --- a/index.html +++ b/index.html @@ -58,10 +58,13 @@

Banque : 1000

Vous :

+ -