-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (56 loc) · 2.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/style.css">
<script src="./js/script.js" defer></script>
<title>Sign-Up-Form</title>
</head>
<body>
<img id="sound-button" src="./img/muted.png" alt="unmute button">
<form>
<h1 id="form-title">Sign Up!</h1>
<div>
<label for="name" class="required">Name</label>
<input type=text id="name" pattern="[A-Za-z]+" placeholder="Barry" required>
</div>
<div>
<label for="surname" class="required">Surname</label>
<input type="text" id="surname" pattern="[A-Za-z]+" placeholder="Allen" required>
</div>
<div>
<label for="email" class="required">Email</label>
<input type="email" id="email" placeholder="[email protected]" required>
</div>
<div>
<label for="phone-number">Phone Number</label>
<input type="tel" id="phone-number" pattern="[0-9]+" maxlength="13" placeholder="999-999-999">
</div>
<div>
<label for="password" class="required">Password</label>
<div id="password-container">
<input type=password id="password" name="password" placeholder="Password"
pattern="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$" required>
<span id="tooltip">?</span>
<div id="tooltip-text">
<span>*Minimum 8 Characters</span>
<div>*Must include Number</div>
<div>*Must include Special: !@#$%^&*</div>
<div>*Must include UPPERCASE & lowercase Letter</div>
</div>
</div>
</div>
<div>
<label for="confirm-password" class="required"> Confirm Password</label>
<input type=password id="confirm-password" name="confirm-password" placeholder="Confirm Password" required>
</div>
<button id="submit-btn" type="submit">Submit</button>
<div id="login-container">
<span id="already-member">already a member? <button id="login-btn" type="button">Login</button></span>
</div>
</form>
<audio id="button-click-audio" src="./sound/sound_button_click.mp3" muted></audio>
<audio id="background-music" src="./sound/background-music.mp3"></audio>
</body>
</html>