document.write(highScore)
This commit is contained in:
parent
9a3fb5bbcc
commit
2be279fa10
@ -124,7 +124,9 @@
|
|||||||
<div class="card w-100">
|
<div class="card w-100">
|
||||||
<table id="statsTable" class="table mb-0 align-middle">
|
<table id="statsTable" class="table mb-0 align-middle">
|
||||||
<tr><td>Score</td><th id="scoreCell" class="text-end">0</th></tr>
|
<tr><td>Score</td><th id="scoreCell" class="text-end">0</th></tr>
|
||||||
<tr><td>Meilleur score</td><th id="highScoreCell" class="text-end">0</th></tr>
|
<tr><td>Meilleur score</td><th id="highScoreCell" class="text-end">
|
||||||
|
<script>document.write(Number(localStorage["highScore"]) || 0)</script>
|
||||||
|
</th></tr>
|
||||||
<tr><td>Niveau</td><th id="levelCell" class="text-end">0</th></tr>
|
<tr><td>Niveau</td><th id="levelCell" class="text-end">0</th></tr>
|
||||||
<tr><td>But</td><th id="goalCell" class="text-end">0</th></tr>
|
<tr><td>But</td><th id="goalCell" class="text-end">0</th></tr>
|
||||||
<tr><td>Temps</td><th id="timeCell" class="text-end">00:00</th></tr>
|
<tr><td>Temps</td><th id="timeCell" class="text-end">00:00</th></tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user