trying to merge buttons and nav bar

This commit is contained in:
nbillard 2022-12-05 17:49:28 +01:00
commit 2d08d45355
2 changed files with 6 additions and 1 deletions

View file

@ -25,6 +25,11 @@
<ol id="level-lists">
</ol>
</nav>
<div id="timer">Time</div>
<button id="Pause" onclick="Pause()">Pause</button>
<br>
<div></div>
<canvas id="canvas" width="800" height="400"></canvas>
<div class="to-center">
<canvas id="canvas" width="800" height="400"></canvas>
<div class="text-bubble">

View file

@ -57,7 +57,7 @@ function timer(){
txt.innerHTML= afficher;
time = time <= 0 ? 0 : time -1;
if (time == )
if (time == 0)
{
clearInterval(maVar);
}