-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (26 loc) · 1.25 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Form Validation</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<h1> New User Signup</h1>
<form>
<input type="text" name="username" placeholder="username">
<p>Username must be alphanumeric, and contain 5 - 12 characters</p>
<input type="text" name="email" placeholder="email">
<p>Email must be a valid address e.g. [email protected]</p>
<input type="password" name="password" placeholder="password">
<p>Password must be alphanumeric (@._and- are also allowed) and be 8- 20 characters</p>
<input type="text" name="telephone" placeholder="telephone">
<p>Telephone must be a valid UK telephone number (11 digits)</p>
<input type="text" name="slug" placeholder="profile slug">
<p>Slug must contain only lowercase letters, numbers and hyphens and be 8 - 20 characters</p>
</form>
<script text="text/javascript" src="validation.js"></script>
</body>
</html>