-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApplication4.html
More file actions
93 lines (79 loc) · 2.85 KB
/
Copy pathApplication4.html
File metadata and controls
93 lines (79 loc) · 2.85 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
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Applications - First Class Apartments</title>
<style>
/* ... (existing styles) ... */
/* ... (additional styles for form-group, label, input, etc., as previously defined) ... */
* { box-sizing: border-box; margin: 0; padding: 0; }
body, h1, h2, h3, p { margin: 0; padding: 0; }
body { font-family: 'Arial', sans-serif; color: #333; background: #f4f4f4; }
.container { width: 80%; max-width: 1200px; margin: auto; padding: 0; }
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0;
background:green; /* This sets the background color of the navbar to black */
}
.navbar ul { list-style-type: none; display: flex; gap: 25px; }
.navbar a {
text-decoration: none;
color: #fff; /* This sets the text color of the links to white for better contrast */
font-weight: bold;
}
.navbar a:hover { color: yellow; }
</style>
<script>
function toggleVisibility(conditionElementId, targetElementId) {
var conditionElement = document.getElementById(conditionElementId);
var targetElement = document.getElementById(targetElementId);
targetElement.style.display = conditionElement.value === 'yes' ? 'block' : 'none';
}
</script>
</head>
<body>
<header class="navbar container">
<!-- ... (navbar content) ... -->
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="#about-us">About Us</a></li>
<li><a href="#apartments">Apartments</a></li>
<li><a href="Application.html">Applications</a></li>
</ul>
</nav>
</header>
<div class="header-section container">
<h1>Applications</h1>
</div>
<div class="container">
<div class="form-section">
<h2>Type your information in the selected boxes to electronically send the application</h2>
<form action="/submit_application" method="post">
<div class="form-group">
<label for="fullname">Full Name:</label>
<input type="text" id="fullname" name="fullname" required>
</div>
<div class="form-group">
<label for="email">Email Address:</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="address">Current Address:</label>
<textarea id="address" name="address" required></textarea>
</div>
<div class="form-group">
<label for="phone">Phone Number:</label>
<input type="text" id="phone" name="phone" required>
</div>
<!-- Additional Fields as previously defined -->
<!-- Tenant Reference, Rent, Occupancy Type, Criminal Record, Employment -->
<input type="submit" value="Submit Application">
</form>
</div>
</div>
</body>
</html>