From dfd523a419f425113a14c29238dd0a5557c5a1a8 Mon Sep 17 00:00:00 2001 From: toduyemi Date: Thu, 19 Oct 2023 20:23:19 -0400 Subject: [PATCH] Add placeholder for start game clarity --- app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.js b/app.js index 5058881..35a1737 100644 --- a/app.js +++ b/app.js @@ -54,6 +54,9 @@ function StartState() { this.playerOneInput.required = true; this.playerTwoInput.required = true; + + this.playerOneInput.setAttribute('placeholder', 'player one name'); + this.playerTwoInput.setAttribute('placeholder', 'player two name'); }, createDom: function () {