-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgym.html
185 lines (146 loc) · 4.53 KB
/
gym.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<!--Defining meta tags inside head tag-->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Title of the webpage-->
<title>FITNESS HOUSE</title>
<!--Linking external stylesheet-->
<link rel="stylesheet" href="style.css">
<!--inline css-->
<style>
body {
color: black;
font: bold;
font-size: 20px;
margin: 0px;
padding: 0px;
background: url('images/gym1.jpg');
background-repeat: no-repeat;
background-size: cover;
font-family: Impact, sans-serif;
}
.left {
position: absolute;
display: inline-block;
left: 34px;
top: 20px;
}
.left img {
width: 100px;
}
.left div {
text-align: center;
border-style: groove;
background-color: white;
font-size: 15px;;
}
.mid {
display: block;
width: 50%;
margin: 12px auto;
top: 20px;
}
.right {
position: absolute;
top: 0px;
right: 34px;
display: inline-block;
top: 20px;
font:bold;
}
.navbar {
display: inline-block;
}
.navbar li {
display: inline-block;
}
.navbar li a {
color: black;
text-decoration: none;
font-size: 25px;
padding: 15px;
}
.navbar li a:hover {
text-decoration: underline;
color: black;
font-size: larger;
}
.btn {
padding: 10px;
cursor: pointer;
font-size: large;
color:black;
}
.btn:hover {
text-decoration: underline;
color: black;
font-size: larger;
}
.container {
font-size: 40px;
font-family: Georgia, 'Times New Roman', Times, serif;
margin: 100px 100px 10px;
padding: 50px 50px: font: outline;
font: bold;
background-color: white;
color: black;
display: inline-block;
}
.signup {
font-size: larger;
font: message-box;
margin: 20px 100px 50px;
padding: 50px 50px: cursor: pointer;
}
.signup:hover{
text-decoration: underline;
color: black;
font-size: larger;
}
.formgroup input {
display: block;
font-size: 50x;
font-family: Georgia, 'Times New Roman', Times, serif;
margin: 5px 20px 5px 100px;
border: 100px;
width: 300px;
border-radius: 25px;
;
}
</style>
</head>
<!--main appearance of the wepage is coded here-->
<body>
<header class="header">
<div class="left">
<img src='images/gym2.jpg'>
<div>FITNESS HOUSE</div>
</div>
<div class="mid">
<ul class="navbar">
<li><a href="#" class="active">HOME</a></li>
<li><a href="#" class="active">ABOUT US</a></li>
<li><a href="#" class="active">FITNESS CALCULATOR</a></li>
<li><a href="#" class="active">CONTACT US</a></li>
</ul>
</div>
<div class="right">
<button class="btn">Call Us</button>
<button class="btn">Email us</button>
</div>
</header>
<div class="container">Step Up Your Fitness Challenge with Us</div>
<!--Form for user input-->
<form action="no action.php">
<div class="formgroup">
<input type="text" name="" placeholder="Enter your name">
</div>
<div class="formgroup"> <input type="text" name="" placeholder="Enter your name"></div>
<div class="formgroup"> <input type="text" name="" placeholder="Enter your age"></div>
<div class="formgroup"> <input type="text" name="" placeholder="Enter your gender"></div>
<button class="signup">SIGN UP</button>
</form>
</body>
</html>