-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfrontend.html
83 lines (78 loc) · 2.28 KB
/
frontend.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html>
<head>
<title>User Management System</title>
<script src="server.js"></script>
<script src="frontend.js"></script>
<script src="frontend.php"></script>
<script src="csharp.js"></script>
<style>
/* Style the form container */
.form-container {
max-width: 500px;
margin: 0 auto;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
font-family: Arial, sans-serif;
}
/* Style the form fields */
.form-field {
margin-bottom: 10px;
}
.form-field label {
display: inline-block;
margin-bottom: 5px;
font-weight: bold;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
box-sizing: border-box;
}
/* Style the form submit button */
.form-submit {
width: 100%;
background-color: #4caf50;
color: #fff;
border: none;
border-radius: 5px;
padding: 10px;
font-size: 16px;
cursor: pointer;
}
.form-submit:hover {
background-color: #3e8e41;
}
</style>
</head>
<body>
<div class="form-container">
<h1>User Management System</h1>
<form action="/submit-form" method="POST">
<div class="form-field">
<label for="first-name">First Name:</label>
<input type="text" id="first-name" name="firstName" required />
</div>
<div class="form-field">
<label for="last-name">Last Name:</label>
<input type="text" id="last-name" name="lastName" required />
</div>
<div class="form-field">
<label for="email">Email:</label>
<input type="email" id="email" name="email" required />
</div>
<div class="form-field">
<label for="phone">Phone Number:</label>
<input type="tel" id="phone" name="phone" required />
</div>
<button class="form-submit" type="submit">Submit</button>
</form>
</div>
</body>
</html>