-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (30 loc) · 1.04 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hangman!</title>
<!-- JQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- Materialize.css -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
</head>
<body>
<div class="container" id="main">
<h2>Welcome to the JavaScript guessing game!</h2>
<div id="stats">
<p id="wins">Wins: 0</p>
<p id="guesses">Guesses: 0</p>
<p id="losses">Losses: 0</p>
</div>
<div id="word" class="center-align">
<p id="wordToGuess">w</p>
</div>
<div class="right-align">
<p id="lettersUsed"></p>
</div>
</div>
<script src="guess.js"></script>
</body>
</html>