Skip to content

Commit

Permalink
Stylistic edits, visibility changes
Browse files Browse the repository at this point in the history
  • Loading branch information
muktar1907 committed Apr 27, 2024
1 parent 72f3c48 commit 7bc4a6d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions html/index_1.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
</head>

<body>
<!--LobbyChat-->
<div id="LobbyChatRoom" style="display: none;">
<p>Message:Talk to other players here</p>
<button id="send">Send</button>
</div>
<!-- welcome -->
<div id="welcomeContainer">
<h1>Welcome to The Word Search Game</h1>
Expand Down Expand Up @@ -164,6 +169,8 @@ <h2>Leaderboard</h2>
if("ready" in messageData && messageData.ready==="true")
{
document.getElementById("lobbyContainer").style.display="none";
document.getElementById("LobbyChatRoom").style.display="block";
document.getElementById("welcomeContainer").style.display="none";
generateGrid();
document.getElementById("Game").style.display="block";
startTimer();
Expand Down
3 changes: 2 additions & 1 deletion html/style_lobby.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ select {
background-color: #f2f2f2;
}
#LobbyChatRoom {
width: 100%;
width: 45%;
height: 90%;
border-collapse: collapse;
border: 1px solid black;
}
Expand Down

0 comments on commit 7bc4a6d

Please sign in to comment.