-
Notifications
You must be signed in to change notification settings - Fork 0
/
task2.html
248 lines (224 loc) · 10.8 KB
/
task2.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/fontawesome.min.css" integrity="sha384-QYIZto+st3yW+o8+5OHfT6S482Zsvz2WfOzpFSXMF9zqeLcFV0/wlZpMtyFcZALm" crossorigin="anonymous">-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<title>Bootstrap - Task 2</title>
<style>
.nav-item {
padding-left: 20px;
}
.nav-link {
color: white;
}
.navbar a:hover {
color: rgb(211, 181, 11);
}
button {
color: white;
border-color: white;
}
.carousel-item img {
object-fit: cover;
width: 100%;
height: 600px;
}
.carousel-indicators {
bottom: 20px;
}
.carousel-indicators li {
background-color: black;
border: 2px solid white;
}
.carousel-caption {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.7);
color: white;
padding: 10px;
padding-top: 20%;
}
</style>
</head>
<body>
<div class="container-fluid bg-warning" style="color: rgb(4, 4, 61); height: 12vh; padding-top: 2vh;">
<div style="display: flex;">
<h1 style="padding-left: 3%;">
<b>Builderz</b>
</h1>
<div style="font-size: 35px;">
<i class="far fa-calendar-alt" style="color: #04043d; margin-left: 500px; margin-right: 8px;"></i>
</div>
<div>
<p>Opening Hour
<br>
Mon - Fri, 8:00 - 9:00
</p>
</div>
<div style="font-size: 35px;">
<i class="fas fa-phone-alt" style="color: #04043d; margin-left: 20px; margin-right: 8px;"></i>
</div>
<div>
<p>Call Us
<br>
+012 345 6789
</p>
</div>
<div style="font-size: 35px;">
<i class="fas fa-at" style="color: #04043d; margin-left: 30px; margin-right: 8px;"></i>
</div>
<div>
<p>Email Us
<br>
<a href="mailto:[email protected]"
style="text-decoration: none; color: #04043d;">[email protected]</a>
</p>
</div>
</div>
</div>
<div class="container-fluid bg-warning" style="padding-top: 0rem">
<center>
<div style="background-color: rgb(4, 4, 61); height: 10%; width: 94%;">
<nav class="navbar">
<ul class="nav navbar-nav" style="flex-direction: row;">
<li class="nav-item" style="padding-left: 10px;"><a class="nav-link" href="#">HOME</a></li>
<li class="nav-item"><a class="nav-link" href="#">ABOUT</a></li>
<li class="nav-item"><a class="nav-link" href="#">SERVICE</a></li>
<li class="nav-item"><a class="nav-link" href="#">TEAM</a></li>
<li class="nav-item"><a class="nav-link" href="#">PROJECT</a></li>
<li class="nav-item"><a class="nav-link" href="#">PAGES</a></li>
<li class="nav-item"><a class="nav-link" href="#">CONTACT</a></li>
</ul>
<ul class="nav navbar-nav navbar-right" style="flex-direction: row;">
<li style="padding-right: 10px;"><a href="#"><button style="background-color: transparent;">Get
A Quote</button></a></li>
</ul>
</nav>
</div>
</center>
</div>
<!-- Bootstrap Carousel -->
<div id="imageCarousel" class="container-fluid carousel slide" data-bs-ride="carousel"
style="background-color: grey;">
<center>
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img src="./task2-img1.jpg" alt="Img 1" class="img-fluid">
<div class="carousel-caption">
<h3>We Are Professional</h3>
<h1 style="font-size: 60px;">For your dream project</h1>
<ul class="nav navbar-nav justify-content-center" style="flex-direction: row;">
<li style="padding-right: 10px; padding-top: 10px;">
<a href="#" style="text-decoration: none;">
<div class="d-flex justify-content-center">
<button style="background-color: transparent; padding: 15px 30px; font-size: 18px;">
Get A Quote
</button>
</div>
</a>
</li>
</ul>
</div>
</div>
<div class="carousel-item">
<img src="./task2-img2.jpg" alt="Img 2" class="img-fluid">
<div class="carousel-caption">
<h3>We Are Professional</h3>
<h1 style="font-size: 60px;">For your dream project</h1>
<ul class="nav navbar-nav justify-content-center" style="flex-direction: row;">
<li style="padding-right: 10px; padding-top: 10px;">
<a href="#" style="text-decoration: none;">
<div class="d-flex justify-content-center">
<button style="background-color: transparent; padding: 15px 30px; font-size: 18px;">
Get A Quote
</button>
</div>
</a>
</li>
</ul>
</div>
</div>
<div class="carousel-item">
<img src="./task2-img3.jpg" alt="Img 3" class="img-fluid">
<div class="carousel-caption">
<h3>We Are Professional</h3>
<h1 style="font-size: 60px;">For your dream project</h1>
<ul class="nav navbar-nav justify-content-center" style="flex-direction: row;">
<li style="padding-right: 10px; padding-top: 10px;">
<a href="#" style="text-decoration: none;">
<div class="d-flex justify-content-center">
<button style="background-color: transparent; padding: 15px 30px; font-size: 18px;">
Get A Quote
</button>
</div>
</a>
</li>
</ul>
</div>
</div>
</div>
<!-- Controls -->
<a class="carousel-control-prev" href="#imageCarousel" role="button" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
</a>
<a class="carousel-control-next" href="#imageCarousel" role="button" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
</a>
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#imageCarousel" data-slide-to="0" class="active"></li>
<li data-target="#imageCarousel" data-slide-to="1"></li>
<li data-target="#imageCarousel" data-slide-to="2"></li>
</ol>
</center>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-4 text-warning" style="background-color: rgb(4, 4, 61); height: 30vh; padding-top: 8vh;">
<div style="display: flex; align-items: center;">
<i class="fas fa-hard-hat"
style="color: #d3b50b; margin-left: 10px; margin-right: 20px ; font-size: 60px;"></i>
<div>
<center>
<h3>Expert Worker</h3>
<p>Workers with skills and expertise that provide excellent services</p>
</center>
</div>
</div>
</div>
<div class="col-4 bg-warning" style="height: 30vh; padding-top: 8vh; color: rgb(4, 4, 61);">
<div style="display: flex; align-items: center;">
<i class="far fa-building"
style="color: rgb(4, 4, 61); margin-left: 10px; margin-right: 20px ; font-size: 60px;"></i>
<div>
<center>
<h3>Quality Work</h3>
<p>Workers with skills and expertise that provide excellent services</p>
</center>
</div>
</div>
</div>
<div class="col-4 text-warning" style="background-color: rgb(4, 4, 61); height: 30vh; padding-top: 8vh;">
<div style="display: flex; align-items: center;">
<i class="fas fa-phone-alt"
style="color: #d3b50b; margin-left: 10px; margin-right: 20px ; font-size: 60px;"></i>
<div>
<center>
<h3>24/7 Support</h3>
<p>Workers with skills and expertise that provide excellent services</p>
</center>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>