-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewProject.html
More file actions
296 lines (239 loc) · 5.21 KB
/
Copy pathnewProject.html
File metadata and controls
296 lines (239 loc) · 5.21 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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> FitZone Gym </title>
<style>
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}
body{
background:#111;
color:#fff;
padding:1px;
}
header{
background:#000;
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 8%;
position:sticky;
top:0;
}
.logo{
font-size:30px;
font-weight:bold;
color:#ff4d00;
}
nav a{
color:#fff;
text-decoration:none;
margin-left:25px;
transition:.3s;
}
nav a:hover{
color:#ff4d00;
}
.hero{
height:90vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
background:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),
url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1600&q=80');
background-size:cover;
background-position:center;
}
.hero h1{
font-size:60px;
}
.hero p{
margin:20px 0;
font-size:20px;
}
button{
padding:15px 35px;
border:none;
background:#ff4d00;
color:#fff;
font-size:18px;
cursor:pointer;
border-radius:5px;
}
button:hover{
background:#ff7b42;
}
section{
padding:70px 8%;
}
h2{
text-align:center;
margin-bottom:40px;
color:#ff4d00;
}
.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}
.card{
background:#1b1b1b;
padding:25px;
border-radius:10px;
text-align:center;
transition:.3s;
}
.card:hover{
transform:translateY(-8px);
}
.card h3{
margin-bottom:15px;
}
.pricing{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}
.price-box{
background:#1b1b1b;
text-align:center;
padding:30px;
border-radius:10px;
}
.price{
font-size:40px;
color:#ff4d00;
margin:15px 0;
}
.contact{
text-align:center;
}
input{
width:80%;
max-width:400px;
padding:12px;
margin:10px;
border:none;
border-radius:5px;
}
footer{
text-align:center;
padding:20px;
background:#000;
margin-top:40px;
}
@media(max-width:700px){
.hero h1{
font-size:40px;
}
}
</style>
</head>
<body>
<header>
<div class="logo">FitZone</div>
<nav>
<a href="#">Home</a>
<a href="#services">Services</a>
<a href="#plans">Plans</a>
<a href="#contact">Contact</a>
</nav>
</header>
<section class="hero">
<div>
<h1>Build Your Dream Body</h1>
<p>Train Hard • Stay Fit • Never Give Up</p>
<button onclick="joinNow()">Join Now</button>
</div>
</section>
<section id="services">
<h2>Our Services</h2>
<div class="cards">
<div class="card">
<h3>💪 Strength Training</h3>
<p>Professional weight training with expert guidance.</p>
</div>
<div class="card">
<h3>🏃 Cardio</h3>
<p>Improve endurance with modern cardio equipment.</p>
</div>
<div class="card">
<h3>🥗 Diet Plans</h3>
<p>Personalized nutrition plans for better results.</p>
</div>
<div class="card">
<h3>🧘 Yoga </h3>
<p>Relax your body and mind with yoga sessions. </p>
</div>
</div>
</section>
<section id="plans">
<h2>Membership Plans </h2>
<div class="pricing">
<div class="price-box">
<h3>Basic</h3>
<div class="price">$20</div>
<p>Per Month</p>
<br>
<button onclick="selectPlan('Basic')">Choose</button>
</div>
<div class="price-box">
<h3>Premium< /h3>
<div class="price">$40</div>
<p>Per Month</p>
<br>
<button onclick="selectPlan('Premium')">Choose</button>
</div>
<div class="price-box">
<h3>Pro</h3>
<div class="price">$60</div>
<p>Per Month</p>
<br>
<button onclick="selectPlan('Pro')">Choose</button>
</div>
</div>
</section>
<section id="contact">
<h2>Contact Us</h2>
<div class="contact" >
<input type="text" id="name" placeholder="Enter Your Name">
<br>
<input type="email" id="email" placeholder="Enter Email">
<br>
<button onclick="submitForm()">Submit</button>
</div>
</section>
<footer>
<p>© 2026 FitZone Gym | Stay Strong 💪</p>
</footer>
<script>
function joinNow(){
alert("Welcome to FitZone Gym! Our team will contact you soon.");
}
function selectPlan(plan){
alert("You selected the " + plan + " Membership Plan.");
}
function submitForm(){
let name=document.getElementById("name").value;
let email=document.getElementById("email").value;
if(name==="" || email===""){
alert("Please fill in all fields.");
return;
}
alert(
"Thank you " + name + "!\n\n" +
"We have received your details.\n" +
"Email: " + email
);
document.getElementById("name").value="";
document.getElementById("email").value="";
}
</script>
</body>
</html>