- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
Latest commit
85 lines (85 loc) · 3.08 KB
/
Copy pathindex.html
File metadata and controls
85 lines (85 loc) · 3.08 KB
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
<!DOCTYPE html>
<htmllang="en">
<head>
<metacharset="UTF-8">
<metaname="viewport" content="width=device-width, initial-scale=1.0">
<linkrel="icon" type="image/png" href="https://www.jtwebarchitect.com/wp-content/uploads/2019/03/cropped-jt_logo_google-1.gif">
<linkrel="stylesheet" href="style.css">
<title>Form Validate</title>
</head>
<body>
<!-- Video Background -->
<videoclass="video-background" loopmutedautoplay>
<sourcesrc="./water.mp4"></source>
</video>
<divclass=container>
<h1>Sign Up Today!</h1>
<formid="form" novalidate>
<divclass="form-group">
<labelfor="name">Full Name</label>
<input
type="text"
id="name"
placeholder="Full Name"
name="name"
minlength = "3"
maxlength="100"
required>
</div>
<divclass="form-group">
<labelfor="Phone">Phone</label>
<input
type="tel"
id="Phone"
placeholder="333-333-3333"
name="phone"
pattern = "[0-9]{3}-[0-9]{3}-[0-9]{4}"
required>
</div>
<divclass="form-group">
<labelfor="email">Email Address</label>
<input
type="email"
id="email"
placeholder = "john@somwhere.com"
name="email"
required>
</div>
<divclass="form-group">
<labelfor="website">Website URL</label>
<input
type="url"
id="website"
placeholder = "https://jtwebarchitect.com"
required>
</div>
<divclass="form-group">
<labelfor="password1">Create Password</label>
<input
type="password"
id="password1"
placeholder="Password (Min. characters)"
pattern="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[a-zA-Z]).{8,}$"
title="Please include at least 1 uppercase character and 1 lowercase character, and 1 number. "
required>
</div>
<divclass="form-group">
<labelfor="password2">Confirm Password</label>
<input
type="password"
id="password2"
placeholder="Confirm Password"
name="password"
pattern="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[a-zA-Z]).{8,}$"
required>
</div>
<buttontype="submit">Register</button>
</form>
<divclass="message-container">
<h3id="message">Do Not Hesitate!</h3>
</div>
</div>
<!-- script -->
<scriptsrc="script.js"></script>
</body>
</html>