-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (55 loc) · 1.77 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!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" />
<title>Number Guessing</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<section id="first-page">
<div class="first-container">
<h1 id="start">Start Game</h1>
</div>
</section>
<section id="second-page">
<div class="secondpage">
<h1 id="name"></h1>
</div>
</section>
<section id="third-page">
<div class="main-page-content">
<div class="main-heading">
<h1>Guessing Game</h1>
</div>
<div class="main-container">
<div class="computer-number">
<h1>?</h1>
</div>
<div class="your-number">
<label for="yournumber">Enter Your Number from 1 to 20 :</label>
<input type="text" name="" id="yournumber" >
<span id="check" style="cursor:pointer;">Check</span>
</div>
<div class="display">
<h1 id="display-victory"></h1>
</div>
</div>
<div class="footer">
<div class="timer">
<h1>Time taken to Complete:</h1>
<span id="time"></span>
</div>
<div class="try-chance">
<div class="text">
<h1>Chance to try : </h1>
<span id="chance">10</span>
</div>
</div>
</div>
</div>
</section>
<script src="script.js"></script>
</body>
</html>