-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathForm.html
155 lines (137 loc) · 3.85 KB
/
Form.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<html>
<head>
<style>
.container {
position: relative;
text-align: center;
color: rgb(247, 247, 247);
background-color: rgb(70, 4, 4);
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}
.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.bottom-right {
position: absolute;
bottom: 8px;
right: 16px;
font-size: 30;
}
div.header {
display: flex;
justify-content: space-between;
background: orange;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: orange;
}
li {
float: left;
text-align: center;
}
li a {
display: block;
color: white;
text-align: center;
padding: 16px 100px;
text-decoration: none;
}
li a:hover {
background-color: brown;
}
div.container .name {
width: 20%;
margin-left: 0px;
margin-right: 100%;
}
</style>
</head>
<body bgcolor="orange">
<div class="container">
<img class="name" src="Images/logo.png" width="100%" ; height="25%">
<div class="centered">
<h1>FITNESS CLUB</h1>
</div>
<div class="bottom-right"><i>Enjoy the glow of <i><b>Good health</b></i>!</i></div>
</div>
<hr>
<div class="header">
<nav style="color: rgb(70, 4, 4);">
<ul style="font-size: 20px;">
<li><a class="active" href="Gym.html">Home</a></li>
<li><a href="Form.html">Application form </a></li>
<li><a href="Contact_form.html">Contact</a></li>
<li><a href="Payment.html">Payment Portal</a></li>
</ul>
</nav>
</div>
<hr>
<h1 style="background-color:darkgrey" text-align="center">Form for Subscription</h1>
<label>Name: </label><br>
<input name="name" id="name" type="text">
<br><br>
<label>Age: </label><br>
<input name="age" id="age">
<br><br>
<label>Height (in cm): </label><br>
<input name="ht" id="ht">
<br><br>
<label>Weight (in kg): </label><br>
<input name="wt" id="wt">
<br><br>
<label>Sex: </label><br>
<input name="sex" id="sex">
<br><br>
<label>Health issues(if any): </label><br>
<input name="hlthiss" id="hlthiss">
<br><br>
<label>Subscriptions: </label><br>
<select name="sub" id="sub">
<option value="NA">Select your subscription</option>
<option value="Basic">Basic Membership</option>
<option value="Premium">Premium Membership</option>
<option value="VIP">VIP Membership</option>
</select>
<br><br><br>
<button style="color:brown ; border:1px;" type="submit"><b>Submit</b></button>
<br>
<br>
<hr>
<h2 text-align="center">Subscriptions</h2>
<ul>
<li>Basic Membership</li>
<ul type="square">
<li>Body Building</li>
</ul>
<li>Premium Membership</li>
<ul type="square">
<li>Body building</li>
<li>Cardio</li>
</ul>
<li>VIP Membership</li>
<ul type="square">
<li>Body building</li>
<li>Cardio</li>
<li>Personal training</li>
</ul>
</ul>
<script>
function Submit() {
document.getElementById("name").innerHTML = "";
document.getElementById("age").value = "";
document.getElementById("ht").value = "";
document.getElementById("wt").value = "";
document.getElementById("sex").value = "";
document.getElementById("hlthiss").innerHTML = "";
document.getElementById("sub").value = "";
}
</script>
</body>
</html>