trying to merge buttons and nav bar
This commit is contained in:
commit
2d08d45355
2 changed files with 6 additions and 1 deletions
|
@ -25,6 +25,11 @@
|
||||||
<ol id="level-lists">
|
<ol id="level-lists">
|
||||||
</ol>
|
</ol>
|
||||||
</nav>
|
</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">
|
<div class="to-center">
|
||||||
<canvas id="canvas" width="800" height="400"></canvas>
|
<canvas id="canvas" width="800" height="400"></canvas>
|
||||||
<div class="text-bubble">
|
<div class="text-bubble">
|
||||||
|
|
|
@ -57,7 +57,7 @@ function timer(){
|
||||||
txt.innerHTML= afficher;
|
txt.innerHTML= afficher;
|
||||||
|
|
||||||
time = time <= 0 ? 0 : time -1;
|
time = time <= 0 ? 0 : time -1;
|
||||||
if (time == )
|
if (time == 0)
|
||||||
{
|
{
|
||||||
clearInterval(maVar);
|
clearInterval(maVar);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue