-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsignup.html
166 lines (145 loc) · 5.72 KB
/
signup.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
<!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">
<link rel="icon" href="https://www.jiomart.com/msassets/favicon.svg?v2">
<title>Buy Grocery Online at Best Prices Pan India</title>
<link rel="stylesheet" href="styles/signup.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" rel="stylesheet">
<link rel="stylesheet" href="styles/header.css">
<style>
.verify-next-line {
position: relative;
}
#resOTP {
position: absolute;
right: 0;
bottom: -57px;
color: red;
cursor: pointer;
}
#waitingotp {
position: absolute;
left: 0;
bottom: -70px;
color: rgb(165, 165, 165);
/* display: none; */
}
#wotp{
display: none;
position: absolute;
left: 0;
bottom: -70px;
color: red;
}
.active {
display: block;
}
.hide {
display: none;
}
.input-control {
position: relative;
width: 90%;
}
.input-control>i {
position: absolute;
right: 10px;
top: 12px;
cursor: pointer;
color: gray;
}
.pnone {
display: none;
}
.pvis {
display: block;
}
#password:invalid{
border: red solid 2px;
}
#password:valid{
border: green solid 2px;
}
#bttn{
width: 100%;
padding: 8px;
border-radius: 7px;
margin-bottom: 15px;
text-align: center;
cursor: pointer;
color: white;
}
#cmsg{
color: red;
}
</style>
</head>
<body>
<nav></nav>
<div class="main-container">
<div>
<img id="banner" src="https://www.jiomart.com/msassets/images/login-banner.jpg" alt="login-banner">
</div>
<div>
<p id="signup">Sign up</p>
<div class="form-fill">
<form>
<p id="next-line">Please enter your details.</p>
<div class="input-control">
<input type="text" id="fname" placeholder="Your First Name">
</div>
<div class="input-control">
<input type="text" id="lname" placeholder="Your Last Name">
</div>
<div class="input-control">
<input type="email" id="emailid" placeholder="Enter your Email Id">
</div>
<div class="input-control">
<input type="password" id="password" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
title="Must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters"
placeholder="Enter your Password" required>
<i class="fa-solid fa-eye pass"></i>
<i class="fa-solid fa-eye-slash hpass" style="display: none;"></i>
</div>
<p class="msgs">Use 8 or more characters with a mix of letters & numbers</p>
<!-- <input type="password" id="password" placeholder="Enter your Password"> -->
<div class="input-control">
<input type="password" id="cpassword" placeholder="Confirm your Password" required>
<i class="fa-solid fa-eye cpass"></i>
<i class="fa-solid fa-eye-slash chpass" style="display: none;"></i>
</div>
<p class="msgs" id="cmsg"></p>
<div class="get-notification-whatsapp">
<img id="whatsappicon"
src="https://cdn3.iconfinder.com/data/icons/social-media-chamfered-corner/154/whatsapp-512.png"
alt="whatsapp">
<p id="text">Enable order updates and important information on Whatsapp</p>
<input type="checkbox" id="checkbox">
</div>
<p id="verify">Verify</p>
<div class="verify-next-line">
<p id="verify-next-lines">We have sent 6 digit OTP on <b>+91-<span id="getNumber"></span></b>
</p>
<a href="signin.html" id="term">Change</a>
<a style="display: none;" id="resOTP" id="term">Resend OTP</a>
<p id="waitingotp">Waiting for OTP... <span id="otptimer"></span> Sec</p>
<p id="wotp">Incorrect OTP!</p>
</div>
<input type="text" id="otp" placeholder="Enter your OTP">
<!-- <p id="waitingotp">Waiting for OTP... <span id="otptimer"></span> Sec</p> -->
<!-- <button id="resOTP" style="display: none;">Resend OTP</button> -->
<input type="submit" id="bttn" value="Verify">
</form>
</div>
</div>
</div>
<div class="terms-condition">
<p id="ptag">By continuing you agree to our <span><a href="#" id="terms">Terms of service</a></span> and
<span><a href="#" id="terms">Privacy & Legal Policy.</a></span></p>
</div>
</body>
</html>
<script src="scripts/signup.js" type="module"></script>