-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (63 loc) · 3.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pin Generator System</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="pin-generator half-width">
<input class="form-control generatedPin" type="text">
<button class="generate-btn" onclick="generatePin()">Generate Pin</button>
</div>
</div>
<div class="col-md-6">
<div class="input-section half-width">
<input class="form-control showValue" type="text">
<div class="numbers">
<div class="calc-body">
<div class="calc-button-row">
<div class="button" onclick="showInput(this.innerText)">7</div>
<div class="button" onclick="showInput(this.innerText)">8</div>
<div class="button" onclick="showInput(this.innerText)">9</div>
</div>
<div class="calc-row">
<div class="button" onclick="showInput(this.innerText)">4</div>
<div class="button" onclick="showInput(this.innerText)">5</div>
<div class="button" onclick="showInput(this.innerText)">6</div>
</div>
<div class="calc-ow">
<div class="button" onclick="showInput(this.innerText)">1</div>
<div class="button" onclick="showInput(this.innerText)">2</div>
<div class="button" onclick="showInput(this.innerText)">3</div>
</div>
<div class="calc-row">
<div class="button" onclick="removeElement ()">
< </div>
<div class="button" onclick="showInput(this.innerText)">0</div>
<div class="button" onclick="clearInput()">C</div>
</div>
<div>
<button type="submit" class="submit-btn" onclick="checkPin ()">Submit</button>
<p class="action-left"><span id="tryLeft"> 3 </span> try left</p>
</div>
</div>
</div>
</div>
</div>
<div class="notify-section">
<p class="notify wrong-pin">❌ Pin Didn't Match, Please try again</p>
<p class="notify correct-pin">✅ Pin Matched... Secret door is opening for you</p>
</div>
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>