File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818
1919 # playInfo {
2020 text-align : center;
21- padding : 20 px ;
21+ height : 80 px ;
2222 color : white;
2323 }
2424
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ var view = {
1313 playInfo : function ( playerSymbol , pcSymbol , gameStatus ) {
1414 var message = document . getElementById ( "playInfo" ) ;
1515 if ( gameStatus === "WON" ) {
16- message . innerHTML = "You won! Press restart to play again." ;
16+ message . innerHTML = "<u> You WON!</u> <br> Press restart to play again." ;
1717 }
1818 else if ( gameStatus === "LOST" ) {
19- message . innerHTML = "You lost! Press restart to play again." ;
19+ message . innerHTML = "<u> You LOST!</u> <br> Press restart to play again." ;
2020 }
2121 else {
2222 message . innerHTML = "Player: " + playerSymbol + " Computer: " + pcSymbol ;
You can’t perform that action at this time.
0 commit comments