-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
50 lines (48 loc) · 1.66 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
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Hangman game</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ"
crossorigin="anonymous"
/>
<link href="./style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container-lg">
<div class="center">
<div id="box"></div>
<div id="name"></div>
<div class="center2">
<p id="noInput"></p>
<p id="word"></p>
<p id="line"></p>
<h3 id="win-lose"></h3>
</div>
<div id="guessedWordLog"></div>
<div>
<ol id="guessedWord"></ol>
</div>
<div class="level">
<button id="easy">Easy</button>
<button id="medium">Medium</button>
<button id="hard">Hard</button><br />
<button id="clickme">Check Ans</button>
<button id="reset" style="display: none">Restart</button>
</div>
</div>
</div>
<!-- the below script helps you to generate buttons and also include the function
another way is to addEventListener, which will be covered in 2nd group project -->
<script src="index.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe"
crossorigin="anonymous"
></script>
</body>
</html>