-
Notifications
You must be signed in to change notification settings - Fork 2
/
signup.html
178 lines (152 loc) · 4.3 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
167
168
169
170
171
172
173
174
175
176
177
178
<!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>
#main{
height:200px;
width:100%;
margin:auto;
display: flex;
justify-content: space-between;
}
#main div{
height:auto;
width:50%
}
#main-1{
background-color: rgb(252, 243, 223);
}
#main-1 h1{
margin-top: 40px;
padding-left: 60px;
margin-bottom: 20%;
}
#main-2{
text-align: center;
padding-top: 70px;
}
#main-2>h3{
color:grey
}
#main-2>div{
border:1px solid black;
margin-left: 23%;
margin-top: 10%;
padding: 5px;
border-radius: 5px;
}
#main-2>div>input{
width:75%;
height:50px;
border:0px;
font-size: 20px;
}
#main-2>div>select{
padding:10px 10px;
background-color: rgb(230, 245, 240);
border-radius: 5px;
border: 0px;
}
#btn-continue{
margin-top: 20px;
padding:15px 150px;
background-color: rgb(111, 185, 190);
border: 0px;
border-radius: 5px;
color:white;
font-size: 30px;
margin-bottom: 20px;
}
#btn-email{
margin-top: 20px;
padding:15px 100px;
background-color: white;
border:1px solid grey;
border-radius: 5px;
;
font-size: 20px;
}
#main-2 button:hover{
cursor:pointer;
}
#btn-google{
margin-top: 20px;
padding:10px 50px;
background-color: white;
border:1px solid grey;
border-radius: 5px;
;
font-size: 20px;
}
#btn-facebook{
margin-left: 10px;
margin-top: 20px;
padding:10px 50px;
background-color: white;
border:1px solid grey;
border-radius: 5px;
;
font-size: 20px;
}
#btn-email-image{
width:10%;
margin-right: 10px;
}
#btn-facebook-img{
width:15%;
margin-right: 15px;
}
*:focus{
outline: none;
}
</style>
</head>
<body>
<div id="main">
<div id="main-1">
<h1>
Welcome to the world of Bewakoof!
</h1>
<img src="https://images.bewakoof.com/web/group-19-1617704502.png"></img>
</div>
<div id="main-2">
<h2>Log in / Sign up</h2>
<h3>for Latest trends, exciting offers and everything Bewakoof!</h3>
<div id="select-div">
<select>
<option>+91</option>
<option>+916</option>
<option>+1</option>
<option>+118</option>
</select>
<input placeholder="Enter Your Number" id="number" type="tel" pattern="[0-9]{3}-[0-9]{2}-[0-9]{3}" maxlength="10" required> </input>
</div>
<br>
<button id="btn-continue" onclick="signup_page()">Continue</button>
<hr width="80%">
<button id="btn-email"> <img src="https://images.bewakoof.com/web/carbon-email-1620039620.png" id="btn-email-image" alt="">Continue with Email</button><br><br>
<button id="btn-google"> <img src="https://images.bewakoof.com/web/group-3-2x-1558356035.png" width="15%" margin-left="15px"></img> GOOGLE</button>
<button id="btn-facebook"><img src="https://images.bewakoof.com/web/bi-facebook2x-1620886445.png" id="btn-facebook-img"></img>Facebook</button>
</div>
</div>
</body>
</html>
<script>
let btn_continue_email=document.querySelector("#btn-email")
btn_continue_email.addEventListener("click" ,(e)=>{
window.location.href="emailsignup.html"
})
function signup_page(){
let num=document.getElementById("number").value
localStorage.setItem("my_num",JSON.stringify(num))
if(num.length==10){
window.location.href="signup2.html"
}else{
alert("please fill your mobile number")
}
}
</script>