-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (62 loc) · 3.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sign-up Form</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="image">
<div class="logo">
<img id="logo" src="images/logo.svg" alt="">
<h1>Sphere</h1>
</div>
<div class="photo-c"><span>Photo by <a href="https://unsplash.com/@noahbuscher" target="_blank">Noah Buscher</a> on <a href="https://unsplash.com" target="_blank">Unsplash</a></span></div>
</div>
<div class="form">
<p class="description">Sphere is a online music streaming service! You know you need something<br> like this in your life to help you realize your deepest dreams.<br>Sign up <i>now</i> to get started.</p>
<p class="description">You <i>know</i> you want to.</p>
<form action="https://httpbin.org/post" method="post" id="registration-from">
<h3 class="form-title">Let's do this!</h3>
<div class="input-wrapper">
<div class="input-block">
<div class="input">
<label for="first-name">First name</label>
<input name="first-name" id="first-name" type="text" required maxlength="40" pattern="[a-zA-Z\s]{1,40}">
</div>
<div class="input">
<label for="email">Email</label>
<input name="email" id="email" type="email" required maxlength="20" pattern="^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
">
</div>
<div class="input">
<label for="password">Password</label>
<input name="password" id="password" type="password" required maxlength="20">
</div>
<span id="wrong-password-match">* Passwords do not match</span>
</div>
<div class="input-block">
<div class="input">
<label for="last-name">Last name</label>
<input name="last-name" id="last-name" type="text" required maxlength="40" pattern="[a-zA-Z\s]{1,40}">
</div>
<div class="input">
<label for="tel"> Phone number</label>
<input name="tel" id="tel" type="tel" required maxlength="15" pattern="^\+(?:[0-9] ?){6,14}[0-9]$">
</div>
<div class="input">
<label for="confirm-password">Confirm password</label>
<input name="confirm-password" id="confirm-password" type="password" required maxlength="20">
</div>
</div>
</div>
</form>
<button form="registration-from">Create Account</button>
<p>Already have an account? <a href="" class="log-in">Log in</a></p>
</div>
</div>
<script src="password.js"></script>
</body>
</html>