-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathotpPage.html
337 lines (294 loc) · 13.8 KB
/
otpPage.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
<!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>
/* navbar CSS */
body {
margin: 0px;
}
#parent {
position: relative;
}
#bigbox {
width: 100%;
height: 150px;
/* border: 1px solid red; */
display: flex;
/* box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px; */
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
background-color: #f0f1f7;
position: sticky;
top: 0;
}
#image {
width: 100%;
height: 80px;
display: inline;
}
#image2 {
width: 20%;
height: 20%;
}
#categories {
margin: 0px 0px 0px 30px;
background-color: red;
}
#imageBox {
margin: 10px 10px 10px 20px;
/* background-color: burlywood; */
width: 20%;
}
#imageBox>div {
display: flex;
justify-content: space-evenly;
font-size: 25px;
}
option {
font-size: 25px;
margin: 10px 0px 0px 40px;
}
#searchBox {
display: flex;
width: 60%;
flex-direction: column;
/* background-color: forestgreen; */
}
#belowSearch {
display: flex;
/* background-color: burlywood; */
margin: 10px 40px 10px 40px;
width: 90%;
justify-content: space-evenly;
}
p {
font-weight: lighter;
font-size: 15px;
}
#search {
margin: 20px 40px 10px 40px;
/* background-color: aquamarine; */
}
input {
width: 100%;
height: 40px;
border-radius: 30px;
}
#rightBox {
display: flex;
flex-direction: column;
width: 29%;
}
#rightBox>div {
/* background-color: aquamarine; */
width: 100%;
}
#rightImg {
width: 100%;
height: 100px;
/* background-color: blue; */
}
#cart {
display: flex;
justify-content: space-evenly;
align-items: center;
align-content: center;
/* width: 10%; */
}
.cat {
display: none;
font-size: 0.875rem;
color: #202340;
margin: 0 0 0 5px;
overflow: hidden;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
max-width: 100px;
}
#cart {
margin-bottom: 100px;
/* margin-top: 10px; */
}
#cart>div {
display: flex;
justify-content: center;
align-items: center;
/* border: 5px solid red; */
height: 15px;
align-content: center;
text-align: center;
gap: 5px;
}
#cart >div >img {
height: 15px;
/* width: 100%; */
}
#exp {
width: 100%;
height: 3000px;
background-color: red;
}
a{
text-decoration: none;
}
/* OTP css */
#cont{
/* border: 2px solid red; */
width:28%;
margin: auto;
/* height:650px; */
border-radius: 15px;
/* padding: 26px; */
/* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */
box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px;
line-height: 40px;
}
#cont>div:nth-child(1){
width:90%;
margin: auto;
/* margin-left: 0px; */
font-weight: bold;
font-size: 19px;
/* border: 2px solid red; */
color: teal;
/* padding-right: 0px; */
}
/* #cont>div{
border: 2px solid red;
} */
form{
/* border: 2px solid green; */
/* height: 12%; */
display: flex;
flex-direction: column;
}
p {
/* border: 1px solid red; */
margin-left: 18px;
margin-top: -10px;
}
input[type="password"]{
width:80%;
height: 40px;
border: 0.3px solid grey;
border-radius: 5px;
/* padding-left: 20px; */
margin: 20px;
}
input[type="submit"] {
width:90%;
/* border: 2px solid green; */
margin: auto;
margin-top: -10px;
height: 40px;
border-radius: 20px;
background-color: #414467;
color: white;
font-weight: bold;
margin: 20px;
}
img{
/* border: 2px solid red; */
display: block;
height: 100px;
margin: auto;
margin-bottom: 20px;
border: transparent;
}
/* bottom css */
</style>
</head>
<body>
<!-- navbar html -->
<div id="parent">
<div id="bigbox">
<div id="imageBox">
<div>
<img id="image" src="https://img.shop.com/Image/resources/logos/shop-logo-us.svg" alt="" />
</div>
<div>
<img id="image2" src="https://img.shop.com/Image/resources/images/icon-menu-24px.svg" alt="" />
<span class="cat">Categories</span>
</div>
</div>
<div id="searchBox">
<div id="search"><input type="text" /></div>
<div id="belowSearch">
<div>
<a href="brand.html"><p>Exclusive Brands</p></a>
</div>
<div>
<a href="stores.html"><p>Stores</p></a>
</div>
<div>
<a href="deals.html"><p>Deals</p></a>
</div>
<div>
<p>SHOP Travel</p>
</div>
<div>
<p>Departments</p>
</div>
<div>
<p>ShopBuddy</p>
</div>
<div>
<p>SHOP Local</p>
</div>
</div>
</div>
<div id="rightBox">
<div>
<img id="rightImg" src=" https://img.shop.com/Image/header2013/motives-usa-can-100110-sculpting-concealer-banners-header1650486339409.svg" alt="img" />
</div>
<div id="cart">
<div>
<img src="https://img.shop.com/Image/resources/images/icon-account-circle-24px.svg" alt="" />
<span>Sign in</span>
</div>
<div>
<img src="https://img.shop.com/Image/resources/images/icon-orders-24px.svg" alt="" />
<span>Orders</span>
</div>
<div>
<img src="https://img.shop.com/Image/resources/images/icon-shopping-cart-24px.svg" alt="" />
<span>Cart</span>
</div>
</div>
</div>
</div>
</div>
<!-- OTP HTML -->
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxIHBg8IBxMTERUVFxoZExYYFhUXHhcYFhoWGCAbHxcYICgsJBwxHhgfLTElJyorLjM6HiEzRDMvNyotLi0BCgoKDg0OGxAQGzcmHyYtNTUrODIyLysrNy0yLS0wLi8vLS0tNy0tKy0wLTUtLy8tLS0tLS0tLS0tLS0tLS0tLf/AABEIAMIBBAMBIgACEQEDEQH/xAAcAAEAAgMBAQEAAAAAAAAAAAAABQcEBggDAQL/xABAEAACAQIEAwUEBwUHBQAAAAAAAQIDEQQFBhIHITETQVFhgSJCUnEUFTJykZKhFiMkYqIIsbLB0dLwNVNjc5P/xAAZAQEAAwEBAAAAAAAAAAAAAAAAAQIDBQT/xAAoEQEAAgICAAQFBQAAAAAAAAAAAQIDERIhBBMxQSJRYYHwBUJSkeH/2gAMAwEAAhEDEQA/ALxAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB8ufQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfG7ALkNnmo6OUR2Te+p3QXX1fcv8AljXM61fUxlX6Hkqkru25K8pfdS6fPr8jUa8ZQrTjVvuTalzu91+fPvdzreF/TZt3lnX09/8AHL8T+ocesf8AfstHS2Nq5lgZY7GWW+b2RXSMY8vXnfmTRFUNuQ6bU67tGhScpv7kXKT/ALykMLxVzjF1Ozwqpzla+2FBzaXyi+nPqeC1PMvaaem3upbhSIt6uhAUDiOJmd4Wn2uJpqnFdXPCzivxdjc+GvEqepsxeU5vThCq4uVOdO6jPb1i4ybadufV3s+ludbYbRG14yR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K79TblwxxGvVnrlaVE5lj824mYqlh40Xsi7xjCMoUot8t8pybu7ebfWy587eyLRNPJ9FVtP05XlWpzVapa26dSG1yt4JWSXgjbLH0xvkmY1HUL1prty7l88foPUar9lKnWheDjOEpQqKXVJq26LsmnF9yNg1lnecakyCNbNKDoYd1IqNOFOpF1ZJSlucZNycFtvflG7j1fToGx9Lzn3MTrtXy+tbVRwFyeWFwOMzLEwlCU5xpxUouL201ubSfc3P+kkOO1GNTRkKlRpShiKbgrq8m1ODS8fZk3ZfDfuLDr1Y0KMq1ZqMYpuUm7JJc22/A531RnVbiZrGngMou6ae3Dxd7KPvVpru5K/ikkuvWabvk5yW+GvF58LtHftTnPb4yP8ADUWnV8Kkuqpf5y8uXvJnR8Y7Y2RGaayOlp3JqWWYBezBc2+s5PnKb82/9OiJQzy5Jvba1K8YAAZrgAAAAAAAAAAAAAAAAAAAAAAAAAAAADHlgqU5ucqdNt823GN7/OxkAAAAAAAH5nBVIOFRJp9U1dP0POlhKdGW6jCEX0uopcvQ9gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH//2Q=="/>
<div id="cont">
<div>Enter OTP send to your mobile number</div>
<div>
<form>
<input type="password" id="number" placeholder="Enter your OTP" required>
<a href="underline"><p> Resend Otp</p></a>
<input type="submit" value="Pay">
</form>
</div>
</div>
<img style="width: 100%;height: 350px;margin-top: 100px;" src="https://lh3.googleusercontent.com/bLAxjlv7H69fL9jqsxJAPV_GegpE_UBZHGPc5WjIPTfWTFDKu8DLbr1X-g1IUXi8mCQ-KXhqvHfhq8YytdgOLu58ZDdPbvhZYTvfrt8bjMG0k5XpCm-3Uu8V19oFpgr26uzy0IaMhw=w2400" alt="">
<!-- bottom html -->
</body>
</html>
<script>
document.querySelector("form").addEventListener("submit",function(){
store()
})
function store(){
var otp = '1234'
var otp1 = document.getElementById("number").value
if(otp==otp1){
alert("Congrats payment successfull")
}
else{
alert("OTP is wrong")
}
}
</script>