-
Notifications
You must be signed in to change notification settings - Fork 1
/
game.html
43 lines (37 loc) · 1.87 KB
/
game.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./assets/css/reset.css">
<link rel="stylesheet" href="./assets/css/game.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@500;900&display=swap" rel="stylesheet">
<title>Word Guessing Game</title>
</head>
<body>
<div id= "modal-background" class="none"></div>
<div id="modal" class="container none">
<h4 id="winLose"></h4>
<h6 id="theWord"></h6>
<!-- <p class="modalP">Click continue to see more information about todays word!</p> -->
<a href="./highscores.html"><button id="easy">Continue</button></a>
<button class="restart" onclick="window.location.assign('./index.html')" id="easy">Play Again?</button>
</div>
<div id="game-container">
<div id="game">
<header>
<h1 id = "title" class="title">WhichWord</h1> <!---- Title page ---->
<p class="directions">Type in the word you want to guess. If you think you're right hit enter. Keep guessing until you get the right answer or run out of guesses! </p>
</header>
<div id="grid-container"> <!---- Grid holding in all the boxes -->
<div id="grid"><!---- JS will create the boxes below -->
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script src="./assets/js/game.js"></script>
</body>
</html>