Skip to content

Commit

Permalink
Add placeholder for start game clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
toduyemi committed Oct 20, 2023
1 parent ae387db commit dfd523a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit dfd523a

Please sign in to comment.