-
Notifications
You must be signed in to change notification settings - Fork 0
/
Lab3.html
156 lines (130 loc) · 4.14 KB
/
Lab3.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Web templete</title>
<style>
body {
margin: 0;
background-color: aliceblue;
}
header {
display: flex;
}
nav>ul {
display: flex;
}
nav>ul>li {
padding: 2%;
margin: 2%;
width: 150px;
}
.center {
margin: auto;
width: max-content;
}
center>input {
padding: 2px;
margin: 2px;
}
.flex-container {
display: flex;
margin: auto;
width: fit-content;
}
.fiex-item {
margin: 2%;
padding: 2%;
width: 33%;
height: 33%;
border: solid rgb(240, 238, 238);
}
.flex-container-2{
margin: 0 2% 0 2%;
display: flex;
border: solid rgb(240, 238, 238);
}
.fiex-item-2{
width: 33%;
height: 33%;
margin-left: 2px;
}
.fiex-item-2>h4{
padding: 2%;
background-color: #bbb6fc;
}
.fiex-item-2>p{
margin: auto;
width: max-content;
font-size: medium;
}
</style>
</head>
<body>
<header>
<div class="logo" style="margin: 2%;">
<img id="header-img" src="https://s3.amazonaws.com/freecodecamp/original_trombones.png" alt="logo image"
style="width: 40%;" />
</div>
<nav>
<ul style="list-style-type: none;">
<li><a href="#">Features</a></li>
<li><a href="#">How it works</a></li>
<li><a href="#">Pricing</a></li>
</ul>
</nav>
</header>
<div>
<h3 class="center">Handcrafted, Home-made masterpieces</h3>
<center>
<input type="text" placeholder="Enter your email address"><br>
<input type="button" value="Get Started" style="background-color: #bbb6fc;">
</center>
<div class="flex-container">
<div class="fiex-item">
<h3><img src="imgs/fire.png" width="40px"> Premium Materials</h3>
<p>
Our trombones use the shiniest brass which is sourced locally. This will increase the longevity of
your purchase.
</p>
</div>
<div class="fiex-item">
<h3><img src="imgs/truck.png" width="40px"> Fast Shipping</h3>
<p>
We make sure you recieve your trombone as soon as we have finished making it. We also provide free
returns if you are not satisfied.
</p>
</div>
<div class="fiex-item">
<h2><img src="imgs/quality.png" width="40px"> Quality Assurance</h2>
<p>
For every purchase you make, we will ensure there are no damages or faults and we will check and
test the pitch of your instrument.
</p>
</div>
</div>
<div class="flex-container-2">
<div class="fiex-item-2">
<h4 >TENOR TROMBOME</h4>
<p>$600</p>
<p>Lorem ipsum.</p>
<p>Lorem ipsum.</p>
</div>
<div class="fiex-item-2">
<h4>BASS TROMBOME</h4>
<p>$900</p>
<p>Lorem ipsum.</p>
<p>Lorem ipsum.</p>
</div>
<div class="fiex-item-2">
<h4>VALVE TROMBOME</h4>
<p>$1200</p>
<p>Lorem ipsum.</p>
<p>Lorem ipsum.</p>
</div>
</div>
</div>
</body>
</html>