-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.html
121 lines (96 loc) · 5.75 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
<html>
<head>
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAilBMVEX///9XVltXV1lOTlDk5OTh4eFXVlxZWVvCwsSenp9YV1tTUlVvb3BOTk5aWV76+vq+vsDw8PCSkpVkZGZycnRdXV+4uLhSUVb///v9/f/29vbb29ySkZdgYGBOTVJISEhvbnOKiop9fX/U1NR2dnagoKLJycuwsLJjYmdHRkqCgYampqaNjY1KSkqa+btrAAAG7ElEQVR4nO2ciWKiOhRAIYiphkXBiGBt7abz7Pj/v/duACsoCZQy9XbmnmlHi0ByyEI2sUbWXwKJYINEsEEi2CARbJAINkgEGySCDRLBBolgg0SwQSLYIBFskAg2SAQbJIINEsEGiWCDRLBBItggEWyQyPcTGj8lkVsQGmT0ItkdNnZ3d/MeIms/ARw8+MBLHxFhA4JhQXD4XfcWsW8d/wpc+L1EWABMORp85rO/IkX8jewncnwAbl3CK0BZP/Yp7Piq39msV/X7wyARbJAINkgEGySCDRLBBolgg0SwQSLYIBFskAg2/gWR0ApD85zExe7NpJnVchr4OLXStHcIOYOkSKg3LrenVqY9tHMolpX1mR/5BMa45DHVXvGwbSaqvnMfkdGrt916rSyi/Xquj43a7o5c1800WSedH9oDKXk1SBpE4gfbnrYOLQvusHhpzODPUjK+1qVIGHccxN74j/1SRNpJMO4WhngyZXWPsbF+HD30eEcTftSHY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CkChXp0qn7FdCq8UbsJShGl4uaVMNyyBPwnd60lEqkIMFdRg0aUUmHQi0jNU4F4RcAEmldKYwq3/f/ewjQ15S+8IqE1f3bKUqKmFA4jy2SCVwTInoUqIQKiIIJk+2K6d91cZFq2fq9EVJmwDtDV4CABd//xONgZSvytb4jqdiFV23rT3OKZwI1R2sU8z6/xWz4a3JDBwlxE+8W7MNwG+Umg47b8xJz7VXT1n8i8WQUtEt1w0ASqrmKiR+XBQ9Y8Wp6LcOY2n2NlhYs8/6pG47K/h1EEEkNs2IZpx7Xe/dPEX5IE+b2xUeRVdb7WzZFcWdmi6IJCF6F9okePOWtBgvjM182PhNaSnTSg/+hvXhqyBmzxfOHrv0GYbYvRSuYf/8wA3XwyiSbR7yiaTJqbhtDDC5f5ZGKxW/Q0uS4Iyuxd7aMJCHoy77+LKcnf0a6PQYlxmdPlG90OBtpX/3RY39SFf2Hh2c+CRLBBItggEWyQCDZIBBskgg0SwQaJYINEsEEiN8A4IvOTRHouYMaHcUHdTxKx+i3yXx/VY/jU87nKn/Jt/q54PW/8js8fHx/7PRWwmISeooEx6WsmJ8wi+ZKmYuoi/6rLrV8dxvs9FTBfqWGjQU1yHPs93jBfyjfGglrK0y9r+dcrXG8KE/qZyJaJHnRE9FTAnwOJYINEsEEi2CARbJAINkgEGySCDRLBBolgg0SwQSLYIBFskAg2SAQbJIINEsEGiWCDRLBBItggEWzoV6n8MNzPPIAeMzvXXbt/Af8DDdO26ja5nfIAAAAASUVORK5CYII="/>
<title>
Account Sign up | Rodan + Fields®</title>
<style>
#parent{
text-align: center;
margin: auto;
width:33%;
height:600px;
}
#parent>div{
/* text-align: left; */
height:470px;
padding:30px;
border-radius: 10px;
}
input,button{
width:100%;
border-radius:10px;
padding:10px;
border-color: grey;
}
p{
text-align: left;
margin-bottom: 5px;
margin-top:25px;
}
p:last-child{
text-align: center;
}
h5{
color: grey;
}
img{
padding:20px;
}
span{
color: rgb(23, 113, 198);
}
.nav{
box-shadow: 0 2px 4px 0 rgb(219 219 219 / 50%);
width:100%;
height:50;
position:sticky;
text-align: center;
background-color:white;
font-size: 20px;
font-weight: bolder;
}
</style>
</head>
<header>
<div class="nav">
RODAN + FIELDS
</div>
</header>
<body>
<form id="parent">
<div id="child">
<h1>SIGN UP</h1>
<p>Full name</p>
<input id="name" type="text" placeholder="Enter your full name">
<p>Email</p>
<input id="email" type="email" placeholder="Enter email">
<p>Password</p>
<input id="password" type="password" placeholder="Enter password">
<h5>This site is protected by reCAPTCHA and the <span> Google Privacy Policy </span> and<span>Terms of Service</span>apply </h5>
<p>We updated our <span>Terms & Conditions</span> on 8/3/21. By clicking “SIGN UP” you agree to our updated terms, in addition to our <span>Privacy Policy.</span>.</p>
<input type="submit" value="SIGN UP">
</div>
</form>
</body>
</html>
<script>
let signupLS=JSON.parse(localStorage.getItem("signup"))||[]
form=document.querySelector("form")
form.addEventListener("submit",function (event){
event.preventDefault();
let obj={
name:document.querySelector("#name").value,
email:document.querySelector("#email").value,
password:document.querySelector("#password").value,
}
if(obj.name==""||obj.email==""||obj.password===""){
alert("Field Empty")
return
}
signupLS.push(obj)
//console.log(obj)
localStorage.setItem("signup",JSON.stringify(signupLS))
alert("signed Up Succesfully")
window.location.href="Signin.html"
})
</script>