-
Notifications
You must be signed in to change notification settings - Fork 2
/
Otp.html
144 lines (127 loc) · 2.92 KB
/
Otp.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!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>Document</title>
<style>
.pillme{
width: 100%;
}
#box{
position: absolute;
bottom:0;
left:0;
padding-left:10px;
font-size:17px;
margin: auto;
width: 350px;
margin-left: 500px;
margin-bottom: 200px;
height: 180px;
box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}
#dnavbar {
width: 100%;
height: 55px;
border: 1px solid transparent;
position: static;
background-color: rgb(46, 49, 146);
display: flex;
}
#dnavbar>div {
border: 1px solid transparent;
width: 5%;
height: 100%;
}
#dnavbar>div:first-child>img {
width: 40px;
height: 30px;
position: relative;
margin-left: 25px;
margin-top: 10px;
}
#dnavbar>div:nth-child(2)>p {
font-size: 26px;
position: relative;
left: 3px;
bottom: 13px;
color: white;
font-family: arial;
font-weight: bold;
margin-left: 30px;
}
#dnavbar>div:nth-child(3)>p {
font-size: 26px;
position: relative;
left: 3px;
bottom: 13px;
color: white;
font-family: arial;
font-weight: bold;
margin-left:100px;
}
h2{
text-align: center;
color: blue;
}
#otp{
margin-left: 90px;
height: 35px;
}
#confirm{
margin-left: 90px;
height: 35px;
width: 170px;
margin-top: 10px;
color: white;
background-color: cornflowerblue;
}
a{
text-decoration: none;
background-color: rgb(46, 49, 146);
color: white;
}
</style>
</head>
<body>
<form>
<div id="dnavbar">
<div><img
src="https://play-lh.googleusercontent.com/I4JFwFrttTw96tb0HLs0L8KaNSDDj0y189wftAw3j5_FOinXjEQjIA10b0a2nwekQQ=w240-h480-rw"
alt=""></div>
<div>
<p>indiamart</p>
</div>
<div>
<p><a href="Payment.html">Payment</a></p>
</div>
</div>
<div class ="hooej";
style="position:relative;">
<img style=
" width: 100%;
height: 550px";
src="https://th.bing.com/th/id/OIP._LgGFUJEBjAB_P-NGM4dbwHaE8?w=269&h=180&c=7&r=0&o=5&dpr=1.25&pid=1.7">
<form>
<div id="box">
<h2>OTP Confirm</h2>
<input id="otp" placeholder="Type Your Otp here" type="number">
<input id="confirm" type="submit" value="Confirm" >
</div>
</form>
</div>
</body>
<script>
document.querySelector("form").addEventListener("submit",clear)
function clear(){
event.preventDefault()
var Otp=document.getElementById("otp").value;
if(Otp==1234){
alert("Payment Done Succesfully")
window.location.href="shopping.html";
}
}
</script>
</html>