From 367dacb5057c945027775f992edf69884c8fb650 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Wed, 12 Nov 2025 22:18:19 +0100 Subject: Changed the layout a bit --- game.mjs | 4 ++-- index.css | 2 +- index.html | 22 +++++++++++----------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/game.mjs b/game.mjs index d5000c3..45efb81 100644 --- a/game.mjs +++ b/game.mjs @@ -10,7 +10,7 @@ class Team { console.log(this.playerOne + " and " + this.playerTwo); } render() { - return `${this.playerOne}${this.playerTwo}`; + return `${this.playerOne}${this.playerTwo}`; } } @@ -28,7 +28,7 @@ class Game { render() { let type = this.team_1.playerOne === "RESERVED" ? `class="is-danger is-dark"` : ``; - return `${ + return `${ this.courtId + 1 }${this.team_1.render()}${this.team_2.render()}`; } diff --git a/index.css b/index.css index 1bd8901..8e3b713 100644 --- a/index.css +++ b/index.css @@ -9,4 +9,4 @@ } table { font-size: 1.5em; -} +} \ No newline at end of file diff --git a/index.html b/index.html index 0952067..35d1b15 100644 --- a/index.html +++ b/index.html @@ -17,6 +17,15 @@ Match Up +
@@ -25,8 +34,8 @@
Court - Team 1 - Team 2 + Team 1 + Team 2 @@ -46,15 +55,6 @@
-
-
- - - - - -
-

Courts

-- cgit v1.3.1