diff --git a/index.html b/index.html index b1d7b72..fb61c5e 100644 --- a/index.html +++ b/index.html @@ -11,15 +11,15 @@
- - - + + +
-
You: 0
-
Compy: 0
+
You: 0
+
Compy: 0
diff --git a/script.js b/script.js index 44bd856..343e12b 100644 --- a/script.js +++ b/script.js @@ -73,7 +73,7 @@ function game() { case "player wins": pScore += 1; player.textContent = pScore; - msg.textContent = "You lose! " + ps + " beats " + cs; + msg.textContent = "You win! " + ps + " beats " + cs; break; default: msg.textContent = "It's a tie!"; diff --git a/style.css b/style.css index e69de29..f137e0f 100644 --- a/style.css +++ b/style.css @@ -0,0 +1,34 @@ +*{ + outline: 2px, solid, yellow; +} + +body { + background: rgb(99, 80, 99); + color: #eee; + text-align: center; +} + +.buttons { + display: flex; + justify-content: center; +} + +.button { + width: 200px; + margin: 5px; + font-size: 30px; +} + +.score { + display: flex; + justify-content: center; +} + +.score-text { + margin: 5px; + font-size: 25px; +} + +#msg { + font-size: 20px; +} \ No newline at end of file