-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.html
87 lines (81 loc) · 4.46 KB
/
signup.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
<!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>Archdigest SignUp form</title>
<link rel="stylesheet" href="signup.css">
</head>
<body>
<main>
<div class="signup-form">
<section class="bg-img">
<img src="Images/buildings-nackground.svg" alt="">
</section>
<section class="form-content">
<header>
<h1>Don't Miss out!</h1>
<p>Sign up to receive exclusive offers and promotions from Archdigest.</p>
<p>In order to receive the best deals that are inline with your preferences.</p>
<p class="signin-link"> Already have an account? <a href="#">Sign in here</a></p>
</header>
<form>
<!-- <p class="req"><strong>Required fields are indicated with a ' * '.</strong></p> -->
<div>
<label for="firstName"> First Name <span class="reqField"><small>(required)</small></span></label>
<input type="text" id="firstName" name="firstName" class="input" aria-required="true" />
<p class="errorText" id="fnameError" tabindex="-1"></p>
</div>
<div>
<label for="lastName"> Last Name<span class="reqField"><span><small>(required)</small></span> </label>
<input type="text" id="lastName" name="lastName" class="input" required>
<p class="errorText" id="lnameError" tabindex="-1"></p>
</div>
<div>
<label for="telNumber"> Phone Number </label>
<!-- pattern="[0-9]{3}-[0-9]{2}-[0-9]{3} -->
<input type="tel" id="telNumber" name="telNumber" class="input" aria-describedby="telDesc">
<p id="telDesc">Phone number format: (123) 456-7890, (123)456-7890, 123-456-7890</p>
<p class="errorText" id="telError" tabindex="-1"></p>
</div>
<div>
<label for="email">Email<span class="reqField"><small>(required)</small></span></label>
<input type="email" id="email" name="email" class="input" aria-describedby="emailDesc" aria-required="true">
<p id="emailDesc">Email format: janedoe@mail.com</p>
<p class="errorText" id="emailError" tabindex="-1"></p>
</div>
<label for="password">Password<span class="reqField"><small>(required)</small></span> </label>
<input type="password" id="password" name="password" class="input" required>
<!-- checkboxes -->
<fieldset>
<legend>Check what you want to receive</legend>
<div class="checkbox-1">
<input type="checkbox" id="checkbox-One" name="checkbox-One">
<label for="checkbox-One">Weekly architecture and design newsletters</label>
</div>
<div class="checkbox-2">
<input type="checkbox" id="checkbox-Two" name="checkbox-Two">
<label for="checkbox-Two">Offers from the company</label>
</div>
<div class="checkbox-3">
<input type="checkbox" id="checkbox-Three" name="checkbox-Three">
<label for="checkbox-Three">Offers from associated companies</label>
</div>
<div class="checkbox-4">
<input type="checkbox" id="checkbox-Four" name="checkbox-Four">
<label for="checkbox-Four">
I agree to the <a href="#">Terms</a> and <a href="#">Privacy Policies</a>
</label>
</div>
</fieldset>
<!-- checkboxes end here -->
<!-- submit button -->
<button type="submit" id="submit-btn"> Sign Up</button>
</form>
</main>
</section>
</div>
<script src="signup.js"></script>
</body>
</html>