From 3dc01fbb930a4eacf416a9cc7911d90da75e6c33 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Sun, 9 Nov 2025 15:57:07 +0100 Subject: Moved a lot of the functionality --- player.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player.mjs') diff --git a/player.mjs b/player.mjs index d75e659..2982df0 100644 --- a/player.mjs +++ b/player.mjs @@ -14,7 +14,7 @@ export class Player { console.log(this.name + " has a level of " + this.level + " and is currently " + status); } render() { - let type = this.status ? "" : 'class="outline secondary"'; + let type = this.status ? `class="button is-success"` : 'class="button is-danger"'; return ``; } } -- cgit v1.3.1