-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
86 lines (82 loc) · 3.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="styles.css">
<script src="script.js" defer></script>
<title>Sign up form</title>
</head>
<body>
<header></header>
<main>
<div class="wrapper">
<div class="banner">
<div class="logo-container">
<img src="images/logo.png" alt="">
<p>wildlife. </p>
</div>
</div>
</div>
<form action="" method="get">
<fieldset>
<p>Sign up now for our wildlife photography newsletter. Lorem ipsum dolor sit amet
consectetur, adipisicing elit. Vel facilis rerum molestias obcaecati magni.</p>
<ul>
<li>
<label for="fname">First Name</label>
<input type="text" id="fname" name="fname" required pattern="[a-zA-Z]+">
<span></span>
</li>
<li>
<label for="lname">Last Name</label>
<input type="text" id="lname" name="lname" required pattern="[a-zA-Z]+">
<span></span>
</li>
<li>
<label for="email">E-Mail</label>
<input type="email" id="email" name="email" required>
<span></span>
</li>
<li>
<label for="tel">Phone number</label>
<input type="tel" id="tel" name="tel" pattern="\d*">
<span></span>
</li>
<li>
<label for="pwd">Password <img class="info" alt="info" src="images/info.png">
<div class="pwd-rules">
<p>Needs to have min. 6 Characters</p>
<p>Must have at least one uppercase letter</p>
<p>Must have at least one lower case letter</p>
<p>Must have at least one digit</p>
</div>
</label>
<input type="password" id="pwd" name="pwd" required pattern="(?=^.{6,}$)(?=.*[a-z]+)(?=.*[A-Z]+)(?=.*\d+)(?!.*\s)(?!.*\,).*$">
<span></span>
</li>
<li>
<label for="pwd2">Confirm password</label>
<input type="password" id="pwd2" name="pwd2" required pattern="(?=^.{6,}$)(?=.*[a-z]+)(?=.*[A-Z]+)(?=.*\d+)(?!.*\s)(?!.*\,).*$">
<span></span>
</li>
</ul>
<p><button type="submit">Create Account</button></p>
<p>Already have an account? <a href="#">Sign in</a></p>
</fieldset>
</form>
</main>
</body>
<footer>
</footer>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
</html>