Add classes and styles; fix working in player win case
This commit is contained in:
parent
69ccd75efa
commit
c95509a187
3 changed files with 40 additions and 6 deletions
10
index.html
10
index.html
|
|
@ -11,15 +11,15 @@
|
|||
|
||||
|
||||
<div class = "buttons">
|
||||
<button id = "rock">Rock</button>
|
||||
<button id = "paper">Paper</button>
|
||||
<button id = "scissors">Scissors</button>
|
||||
<button class = "button" id = "rock">Rock</button>
|
||||
<button class = "button" id = "paper">Paper</button>
|
||||
<button class = "button" id = "scissors">Scissors</button>
|
||||
</div>
|
||||
|
||||
|
||||
<div class = "score">
|
||||
<div> You: <span id = "player">0</span></div>
|
||||
<div>Compy: <span id = "computer">0</span></div>
|
||||
<div class = "score-text"> You: <span id = "player">0</span></div>
|
||||
<div class = "score-text">Compy: <span id = "computer">0</span></div>
|
||||
</div>
|
||||
|
||||
<div id = "msg"></div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue