-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.html
205 lines (198 loc) · 6.82 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
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
<!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>signup</title>
<link rel="stylesheet" href="/signup.css" />
</head>
<body>
<div class="main-content">
<header class="header">
<a href="/index.html">
<img class="logo" src="images/inboxtrappp.svg"
/></a>
<nav class="main-nav">
<ul class="main-nav-list">
<li><a class="main-nav-links menu" href="#">Email Testing</a></li>
<li><a class="main-nav-links menu" href="#">Email API</a></li>
<li><a class="main-nav-links menu" href="#">Pricing</a></li>
<li><a class="main-nav-links menu" href="#"> Resources</a></li>
<li>
<a class="main-nav-links main-nav-btn1" href="/login.html">
Log In</a
>
</li>
<li style="margin-left: -4%">
<a class="main-nav-links main-nav-btn2" href="/signup.html">
Sign Up</a
>
</li>
</ul>
</nav>
</header>
<!-- main section -->
<main class="main-section">
<div class="div-1">
<div class="main-section-btns">
<h1>Create Free Account</h1>
<a href=""
><span><img src="/images/login/image1.svg" alt="" /></span>Use
Google account</a
>
<a href=""
><span> <img src="/images/login/image2.svg" alt="" /></span>Use
Github account</a
>
<a href=""
><span><img src="/images/login/image3.svg" alt="" /></span>Use
Office 365 account</a
>
<p>OR</p>
<form action="" id="form">
<label for="">Email</label>
<input type="email" class="email" id="user_email" />
<label for="">Password</label>
<input type="password" class="email" id="password" />
<input
type="submit"
value="Sign Up With Your Email"
class="submit"
/>
</form>
<p id="insp">
By creating a Mailtrap account, you agree to our
<a href="" class="ins"> Terms of Service</a>
and <a href="" class="ins"> Privacy Policy</a>. <br />
We'll occasionally send you account related emails.
</p>
</div>
</div>
<div class="div-2">
<img
class="image"
src="https://assets.mailtrap.io/packs/assets/landing/signup-29d04f096f43afe622ed.svg"
alt=""
/>
<div class="img-text">
<span
><img
src="https://assets.mailtrap.io/packs/assets/landing/no-cc-f64815040928cb2cd45e.svg"
alt=""
/></span>
<p class="img-para">No credit card needed</p>
<span
><img
src="https://assets.mailtrap.io/packs/assets/landing/no-contract-6c7fcc24afc64e708f1d.svg"
alt=""
/></span>
<p class="img-para">No contract needed</p>
</div>
</div>
</main>
</div>
<div class="footer">
<div class="last-footer">
<div>
<img class="railsware-logo" src="/images/last-footer.svg" alt="" />
</div>
<div>
<h3>Inboxtrap</h3>
<div><a href="">Pricing</a></div>
<div><a href="">Changelog</a></div>
<div><a href="">Status</a></div>
<div><a href="">Terms of Service</a></div>
<div><a href="">Privacy Policy</a></div>
<div><a href="">Navigational Information</a></div>
<div><a href="">DPA</a></div>
</div>
<div>
<h3>Railsware Experience</h3>
<div><a href="">Inbox Blog</a></div>
<div><a href="">Coupler.io</a></div>
<div><a href="">SmartChecklist for Jira</a></div>
<div><a href="">Careers-Railsware Hiring</a></div>
</div>
<div class="social-div">
<h3>Contact</h3>
<div><a href="">email:khemchandsh3@gmail.com</a></div>
<ul class="socials-div">
<li>
<a href=""
><img
class="socials"
id="facebook"
src="https://assets.mailtrap.io/packs/assets/landing/facebook-0be93f551b662821a339.svg"
alt=""
/></a>
</li>
<li>
<a href=""
><img
class="socials"
src="https://assets.mailtrap.io/packs/assets/landing/twitter-57fa29ba21896247fdc6.svg"
alt=""
/></a>
</li>
<li>
<a href="">
<img
class="socials"
src="https://assets.mailtrap.io/packs/assets/landing/linkedin-604440460898fa41700c.svg"
alt=""
/></a>
</li>
</ul>
</div>
</div>
<div class="info">
<div class="copyright">
<p>© Railsware Products Studio LLC</p>
</div>
<div class="about">
<h3>What is Inboxtrap?</h3>
<p>
Inboxtrap is a test mail server solution that allows testing email
notifications without sending them to the real users of your
application. Not only does Inboxtrap work as a powerful email test
tool, it also lets you view your dummy emails online, forward them
to your regular mailbox, share with the team and more! Inboxtrap is
a mail server test tool built by Railsware Product Studio LLC, a
premium software development consulting company.
</p>
</div>
</div>
</div>
</body>
</html>
<script>
let myform = document.getElementById("form");
let data = JSON.parse(localStorage.getItem("data")) || [];
let user_email = document.getElementById("user-email");
let password = document.getElementById("password");
// console.log(user_email.value);
myform.addEventListener("submit", (e) => {
e.preventDefault();
let isSignup = false;
for (let i = 0; i < data.length; i++) {
if (myform.user_email.value == data[i].email) {
isSignup = true;
break;
}
}
if (isSignup == false) {
let obj = {
email: myform.user_email.value,
password: myform.password.value,
};
data.push(obj);
console.log(obj);
localStorage.setItem("data", JSON.stringify(data));
alert("successfully signup");
window.location.href = "/home.html";
} else {
alert("user already exists");
}
});
</script>