-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
96 lines (90 loc) · 4.5 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
<!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">
<!-- fonts -->
<link rel="fonts" href="./app/fonts/Norse-Bold.otf">
<title>Sign-Up-Form</title>
<link rel="stylesheet" href="./dist/css/main.css">
</head>
<body class="body flex-centered ">
<div class="container grid-container ">
<header class="header">
<img
src="https://images.unsplash.com/photo-1585202900225-6d3ac20a6962?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80"
alt="" class="header__bg-img">
<div class="brand-section">
<img
src="https://cdn.statically.io/gh/TheOdinProject/curriculum/5f37d43908ef92499e95a9b90fc3cc291a95014c/html_css/project-sign-up-form/odin-lined.png"
alt="odin brand logo" class="brand-section__logo">
<h1 class="brand-section__title">Odin</h1>
</div>
</header>
<main class="main">
<div class="form-header">
<p class="form-header__text">This isn't a real online service! You know you need something like this in your
life to help you realize
deepest dreams. </p>
<p class="form-header__text">you know you want to</p>
</div>
<form action="#" method="POST" class="form">
<fieldset class="form-container">
<h2 class="form-title">let's do this!</h2>
<div class="form-group">
<label for="firstname" class="form-label">first name</label>
<input id="firstname" type="text" name="first_Name" placeholder="thor" class="form-control"
pattern="([a-zA-Z0-9_\s]+)" title=" letters (either case), numbers, hyphens, underscores, and periods.)"
required>
<small class="small-text">*invalid first name</small>
</div>
<div class="form-group">
<label for="lastname" class="form-label">last name</label>
<input id="lastname" type="text" class="form-control" name="last_Name" placeholder="odinson"
pattern="([a-zA-Z0-9_\s]+)" title=" letters (either case), numbers, hyphens, underscores, and periods."
required>
<small class="small-text">*invalid last name</small>
</div>
<div class="form-group">
<label for="email" class="form-label">email</label>
<input id="email" type="email" name="email" placeholder="thorodindon@gmail.com" class="form-control"
required>
<small class="small-text">*invalid Email</small>
</div>
<div class="form-group">
<label for="tel" class="form-label">phone number</label>
<input id="tel" type="tel" name="Phone_No." class="form-control" placeholder="no. format: 123-456-7890"
pattern="\d{3}[\-]\d{3}[\-]\d{4}" title="A ten digit number seperated by dash" required>
<small class="small-text">* check number format</small>
</div>
<div class="form-group">
<label for="password" class="form-label">password</label>
<input id="password" type="password" name="password" class="form-control" placeholder="enter password"
required pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{5,}"
title="password must contain atleast 5 charaters with an uppercase, a lowercase letter and a number">
<small class="small-text">*password don't match</small>
</div>
<div class="form-group">
<label for="confirmpassword" class="form-label">confirm password</label>
<input id="confirmpassword" type="password" name="confirm_Password" placeholder="Re-enter password"
class="form-control" required pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{5,}"
title="password must contain atleast 5 with an uppercase, a lowercase letter and a number">
<small class="small-text">*password don't match</small>
</div>
</fieldset>
<div class="form-group form-footer">
<fieldset class="form-footer__container">
<button type="submit" name="form-submit _Button" value="create-account" id="submit-button"
class="form-button">create account</button>
<p>already have an account? <a href="#">login</a></p>
</fieldset>
</div>
</form>
</main>
<footer class="footer">
</footer>
</div>
<script src="./app/js/main.js"></script>
</body>
</html>