-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
115 lines (112 loc) · 5.45 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Pin Matcher </title>
<link href="asset/css-js/bootstrap.min.css" rel="stylesheet" />
<link href="asset/css-js/style.css" rel="stylesheet" />
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-6 col-12">
<div class="half-width">
<div class="pin-generator">
<input id="generateNum" class="form-control" type="text" placeholder="Generate" value="">
<p id="generateMessage"></p>
<div class="generateBtnSec">
<button class="generate-btn" onclick="randomNumFun()"> <span>Generate Pin</span> </button>
</div>
</div>
</div>
</div>
<div class="col-md-6 col-12">
<div class="con-12 half-width">
<div class="input-numberSection">
<table>
<thead>
<tr>
<td colspan="4">
<img src="asset/image/display.jpg" alt="display" />
<div class="input-container">
<input id="inputPin" type="text" placeholder="Type" />
</div>
</td>
</tr>
</thead>
<tbody>
<tr>
<td class="text" colspan="4" id="textMessage"> </td>
</tr>
<tr>
<td>
<button type="button" id="7" onclick="btnKey(7)">7</button>
</td>
<td>
<button type="button" id="8" onclick="btnKey(8)">8</button>
</td>
<td>
<button type="button" id="9" onclick="btnKey(9)">9</button>
</td>
</tr>
<tr>
<td>
<button type="button" id="4" onclick="btnKey(4)">4</button>
</td>
<td>
<button type="button" id="5" onclick="btnKey(5)">5</button>
</td>
<td>
<button type="button" id="6" onclick="btnKey(6)">6</button>
</td>
</tr>
<tr>
<td>
<button type="button" id="1" onclick="btnKey(1)">1</button>
</td>
<td>
<button type="button" id="2" onclick="btnKey(2)">2</button>
</td>
<td>
<button type="button" id="3" onclick="btnKey(3)">3</button>
</td>
</tr>
<tr>
<td>
<button type="button" onclick="cleanLast()"><</button>
</td>
<td>
<button type="button" id="0" onclick="btnKey(0)">0</button>
</td>
<td>
<button type="button" onclick="clean()">c</button>
</td>
</tr>
</tbody>
</table>
<button type="submit" class="submit-btn" id="submit" onclick="submitBtn()">Submit</button>
</div>
</div>
</div>
<div class="col-12">
<div class="reaload" id="reaload">
<a href="javascript:location.reload(true)">
<img src="asset/image/reaload.svg" alt="reaload" />
</a>
</div>
</div>
<div class="col-12" id="notify-content">
<div class="notify-section">
<p class="notify" id="tryContent"> <span id="tryLeft">3</span> try left </p>
<p class="notify" id="unmatched"> ❌ Pin Didn't Match. </p>
<p class="notify" id="matched">✅ Pin Matched... Secret door is opening for you</p>
<button type="button" onclick="notifyContent()"> Close </button>
</div>
</div>
</div>
</div>
<audio id="audio" src="asset/audio/tink.wav"></audio>
<script src="asset/css-js/custom.js" type="text/javascript"></script>
</body>
</html>