From 69f877c361e618781bf9ab96cd79bf34c6b7bb86 Mon Sep 17 00:00:00 2001 From: lolabird Date: Wed, 8 Nov 2023 02:08:57 -0700 Subject: [PATCH] Edit formatting, fix rounds reset --- index.html | 2 +- script.js | 2 +- style.css | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 0b0325a..bf208e5 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@
Compy: 0
-
Rounds Played: 0
+
Rounds Played: 0
diff --git a/script.js b/script.js index dcf12c0..bb4477a 100644 --- a/script.js +++ b/script.js @@ -118,5 +118,5 @@ function resetGame() { player.textContent = "0"; computer.textContent = "0"; msg.textContent = ""; - rounds.textContent = ""; + rounds.textContent = "0"; } \ No newline at end of file diff --git a/style.css b/style.css index 0f5453b..ba41fec 100644 --- a/style.css +++ b/style.css @@ -29,6 +29,11 @@ h1{ font-size: 25px; } +.count { + margin-bottom: 20px; + font-size: 25px; +} + #msg { font-size: 32px; }