-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (66 loc) · 3.73 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="pl">
<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">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/main.css">
<title>Sign-up form</title>
</head>
<body>
<div class="container">
<div class="hero-part">
<h1>Jelly</h1>
<img src="https://raw.githubusercontent.com/TomekLeszczynski/Odin-Project-Sign-up-form/main/jelly2.jpg" alt="Jellyfish underwater picture. Dark blueish colors.">
</div>
<div class="form-part">
<div class="form-header">
<p class="header-txt"><span class="header-red"> This is not a real online service! </span>You know you
need something like this in your
life to help you
realize your deepest dreams. Sign up <span class="header-txt italic">now</span> to get started.</p>
<p class="header-txt">Let's do this!</p>
</div>
<form action="" method="post">
<div class="col-one">
<label for="first_name">first name*</label>
<input type="text" id="first_name" name="first_name" placeholder="John" pattern="^[^0-9]+$" value=""
required autocomplete="off">
<label for="phone_number">phone number*</label>
<input id="phone_number" name="phone_number" placeholder="555333777" pattern="^[0-9]{9}$" required
autocomplete="off">
<label for="password">password*</label>
<input type="password" id="password"
title="Password must contain min.8 characters: letters, digits and special characters."
placeholder="********" name="password"
pattern="^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{8,}$" required
autocomplete="off">
</div>
<div class="col-two">
<label for="last_name">last name*</label>
<input type="text" id="last_name" name="last_name" placeholder="Smith" pattern="^[^0-9]+$" required
autocomplete="off">
<label for="email">email*</label>
<input type="email" id="email" name="email" placeholder="you@example.com"
pattern="^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$" required autocomplete="off">
<label for="password_validation">confirm password*</label>
<input type="password" id="password_validation"
pattern="^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{8,}$"
title="Password must contain min.8 characters: letters, digits and special characters."
placeholder="********" required autocomplete="off">
<p class="input-error">*Passwords doesn't match.</p>
</div>
<div class="button-box">
<p class="error-info-btn">*Turn all fields green and hit the button below!</p>
<button type="submit" disabled>Create Account</button>
<p class="body-txt">Already have an account?<a href="#" target="_blank"> Log in</a></p>
</div>
</form>
</div>
</div>
<script src="script.js"></script>
</body>
</html>