Skip to content

Commit

Permalink
back
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiML10 committed May 2, 2024
1 parent d3304db commit 8d0fd97
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h1>Welcome to The Word Search Game</h1>
<form id="nickForm">
<label for="nickInput">Enter your nickname:</label>
<input type="text" id="nickInput" placeholder="Nickname" required>
<!--<button type="submit">Enter Lobby</button>-->
<button type="submit">Enter Lobby</button>
<p id="error" style="color: red; display: none;">Your nick is already taken, please reenter.</p>
</form>
</div>
Expand All @@ -39,14 +39,6 @@ <h2>Timer: <span id="timer">30</span> seconds</h2>
<div id="lobbyContainer">
<div id="userInputSection">
<button id="helpButton">HELP</button>

<!--
<div id="helpModal" style="display:none; position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); background: white; padding: 20px; z-index: 100; border: 1px solid black;">
<h2>Help Instructions</h2>
<p>Find and circle all the hidden words within the grid. Words may be placed horizontally, vertically, diagonally, forward, or backward.</p>
<button onclick="toggleHelp()">Close</button>
</div>
-->
<button id="standbyButton">PUT ON STANDBY</button>

<!--
Expand Down Expand Up @@ -548,19 +540,5 @@ <h2>Leaderboard</h2>

}

/*
function toggleHelp() {
var helpModal = document.getElementById('helpModal');
if (helpModal.style.display === "none") {
helpModal.style.display = "block";
} else {
helpModal.style.display = "none";
}
}
document.getElementById('helpButton').addEventListener('click', function() {
toggleHelp();
});
*/
</script>

0 comments on commit 8d0fd97

Please sign in to comment.