Edit formatting, fix rounds reset
This commit is contained in:
parent
abfdbf97d7
commit
69f877c361
3 changed files with 7 additions and 2 deletions
|
|
@ -22,7 +22,7 @@
|
||||||
<div class = "score-text">Compy: <span id = "computer">0</span></div>
|
<div class = "score-text">Compy: <span id = "computer">0</span></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="score-text">Rounds Played: <span id = "rounds">0</span></div>
|
<div class="count">Rounds Played: <span id = "rounds">0</span></div>
|
||||||
|
|
||||||
<div id = "msg"></div>
|
<div id = "msg"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -118,5 +118,5 @@ function resetGame() {
|
||||||
player.textContent = "0";
|
player.textContent = "0";
|
||||||
computer.textContent = "0";
|
computer.textContent = "0";
|
||||||
msg.textContent = "";
|
msg.textContent = "";
|
||||||
rounds.textContent = "";
|
rounds.textContent = "0";
|
||||||
}
|
}
|
||||||
|
|
@ -29,6 +29,11 @@ h1{
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.count {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
font-size: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
#msg {
|
#msg {
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue