forked from cygnus1729/COP4331-Group20
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreateuser.html
More file actions
69 lines (66 loc) · 1.67 KB
/
createuser.html
File metadata and controls
69 lines (66 loc) · 1.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<title>Create New User</title>
<link rel="stylesheet" href="styles/createuserstyles.css" />
<script type="text/javascript" src="code.js"></script>
</head>
<body>
<div class="create-user-container">
<h2>Create Your Account</h2>
<!-- create form for user creation -->
<form id="createUserForm">
<input
type="text"
name="firstName"
id="firstName"
class="input-field"
placeholder="Enter a first name"
required
>
<input
type="text"
name="lastName"
id="lastName"
class="input-field"
placeholder="Enter a last name"
required
>
<!-- user section -->
<input
type="text"
name="username"
id="username"
class="input-field"
placeholder="Enter a username"
required
>
<!-- password section -->
<input
type="password"
name="password"
id="password"
class="input-field"
placeholder="Enter a password"
required
>
<!-- submit section -->
<input
type="button"
value="Create Account"
class="button create-button"
onclick="createUser();"
>
</form>
<!-- button for going back to login menu -->
<input
type="button"
value="Back to Login"
class="button back-button"
onclick="window.location.href='index.html';"
>
</div>
</body>
</html>