-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
30 lines (24 loc) · 1.06 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>RegEx Form</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<h1>New Member Signup</h1>
<form>
<input type="text" name="username" placeholder="username">
<p>Username must be and contain 5 - 12 characters</p>
<input type="text" name="email" placeholder="email">
<p>Email must be a valid kabarak email address, e.g. [email protected]</p>
<input type="password" name="password" placeholder="password">
<p>Password must alphanumeric (@, _ and - are also allowed) and be 8 - 20 characters</p>
<input type="text" name="telephone" placeholder="telephone">
<p>Telephone must be a valid Kenya telephone number (10 digits)</p>
<input type="number" name="huduma_number" placeholder="huduma_number">
<p>Huduma # must contain 6 digit number</p>
</form>
<script type="text/javascript" src="validation.js"></script>
</body>
</html>