-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (70 loc) · 3.39 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
<!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>Sign Up Form - Paul</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<main>
<div class="side-image-banner">
<div class="logo-title">
<img class="odin-logo" src="img/odin-logo.png" alt="odin logo" height="120">
<h1>Paul</h1>
</div>
<p class="credits">Photo by <a href="https://unsplash.com/@yoavaziz" target="_blank">Yoav Aziz</a> on <a href="https://unsplash.com/photos/tKCd-IWc4gI" target="_blank">Unsplash</a></p>
</div>
<div class="sign-up">
<div class="description">
<p>This is not a real online service! You know you need something like this in your life to help you realize your deepest dreams.</br>Sign up <em>now</em> to get started.</p>
<br/>
<p>You <em>know</em> you want to.</p>
</div>
<div class="sign-up-form">
<h2>Let's do this!</h2>
<form id="my-form">
<div class="form-control">
<label for="first-name">First Name</label>
<input type="text" id="first-name" required>
<p id="first-name-error" class="error"></p>
</div>
<div class="form-control">
<label for="last-name">Last Name</label>
<input type="text" id="last-name" required>
<p id="last-name-error" class="error"></p>
</div>
<div class="form-control">
<label for="email">Email</label>
<input type="email" id="email" required>
<p id="email-error" class="error"></p>
</div>
<div class="form-control">
<label for="phone-number">Phone Number</label>
<input type="tel" id="phone-number" required
pattern="[0-9]{10,11}">
<div id="phone-number-error" class="error"></div>
</div>
<div class="form-control">
<label for="password">Password</label>
<input type="password" id="password" required
pattern="(?=.*[0-9])(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$&*]).{8,}">
<p id="password-error" class="error"></p>
</div>
<div class="form-control">
<label for="retype-password">Retype Password</label>
<input type="password" id="retype-password" required>
<p id="retype-password-error" class="error"></p>
</div>
</form>
</div>
<div class="buttons">
<button type="submit" form="my-form">Create Account</button>
<p>Already have an account? <a href="#">Log in</a></p>
</div>
</div>
</main>
<script src="main.js"></script>
</body>
</html>