-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (94 loc) · 5.33 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
<title>Sign-up Form</title>
</head>
<body>
<div class="container">
<div class="left-side">
<!-- Background image by https://www.freepik.com/free-vector/abstract-organic-pattern-design-background_60913917.htm#query=pattern&position=0&from_view=keyword&track=sph&uuid=56395587-8b09-44c1-b487-de99d88e20d3 on Freepik -->
<div class="logo-area">
<img src="logo.png" alt="Image of Odin logo">
<div class="logo-name">Odin</div>
</div>
<div class="welcome-area">
<h1 id="welcome-title">Welcome</h1>
<span id="sign-in-message">Register to continue</span>
</div>
<div class="welcome-link-area">
<a id="welcome-link" href="https://theodinproject.com">theodinproject.com</a>
</div>
</div>
<div class="right-side">
<div class="sign-up-form">
<h1 class="form-message">This is not a real online service! You know you need something
like this in your life to help you realize your deepest dreams.
Sign up <em>now</em> to get started.
<br><br>
You <em>know</em> you want to.
</h1>
<div class="form-container">
<legend>Let's do this!</legend>
<form action="/index.html" method="post" id="form" autocomplete="off" onsubmit="reload()">
<div class="left-form">
<div class="form-input-name">
<input type="text" id="firstname" name="fname" placeholder="Name *"
pattern="^[A-Za-z]+$" minlength="2" maxlength="50" tabindex="1" required>
<label for="firstname" class="firstname">NAME</label>
</div>
<div class="form-input-email">
<input type="email" id="email" name="email" placeholder="Email *"
tabindex="3" required>
<label for="email" class="email">EMAIL</label>
</div>
<div class="form-input-pw">
<input type="password" id="password" name="pw" placeholder="Password *"
pattern="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{8,}$"
minlength="8" tabindex="5" required>
<label for="password" class="password">PASSWORD</label>
<ul class="pw-req">
<div class="li-left">
<li id="pw-chars">Minimum eight characters</li>
<li id="pw-upper">At least one uppercase letter</li>
</div>
<div class="li-right">
<li id="pw-lower">At least one lowercase letter</li>
<li id="pw-numb">At least one number</li>
</div>
</ul>
</div>
</div>
<div class="right-form">
<div class="form-input-surname">
<input type="text" id="surname" name="sname" placeholder="Surname *"
pattern="^[A-Za-z]+$" minlength="2" maxlength="50" tabindex="2" required>
<label for="surname" class="surname">SURNAME</label>
</div>
<div class="form-input-pnum">
<input type="tel" id="pnum" name="pnum" placeholder="Phone number"
placeholder="john.diaz@gmail.com" tabindex="4">
<label for="pnum" class="pnum">PHONE NUMBER</label>
</div>
<div class="form-input-confpw">
<input type="password" id="confpassword" name="cpw" placeholder="Confirm password *"
pattern="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{8,}$"
minlength="8" tabindex="6" required>
<label for="confpassword" class="password">CONFIRM PASSWORD</label>
<span id="pw-match" class="invisible">* Passwords do not match!</span>
</div>
</div>
</form>
</div>
<div class="submit-form">
<button id="submit" form="form">Create Account</button>
<span id="log-in">Already have an account? <a href="#" id="log-in">Log in</a></span>
</div>
</div>
</div>
</div>
</body>
</html>