From 74da87201e17464875ee554c124c5b27a6e16769 Mon Sep 17 00:00:00 2001 From: "alexandre.aboulin" Date: Thu, 31 Mar 2022 08:34:48 +0200 Subject: [PATCH] tesgsegesgs --- app.js | 4 +++- index.html | 7 +++++-- master.css | 42 ++++++++++++++++++++++++++++++++++++------ 3 files changed, 44 insertions(+), 9 deletions(-) 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 :

+ -