-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
198 lines (175 loc) · 7.31 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Product Landing Page</title>
<!-- Required meta tags -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- Font Awesome CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/css/all.min.css"
integrity="sha256-zmfNZmXoNWBMemUOo1XUGFfc0ihGGLYdgtJS3KCr/l0=" crossorigin="anonymous">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="main.css">
</head>
<body class="mt-5">
<!-- HEADER -->
<header id="header">
<!-- NAVBAR -->
<nav id="nav-bar" class="navbar navbar-expand-sm navbar-dark bg-dark fixed-top">
<div class="container">
<a href="index.html" class="navbar-brand">Sticks-R-Us</a>
<button class="navbar-toggler" data-toggle="collapse" data-target="#navbarCollapse">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a href="#header" class="nav-link">Home</a>
</li>
<li class="nav-item">
<a href="#video-section" class="nav-link">Video</a>
</li>
<li class="nav-item">
<a href="#catalog-section" class="nav-link">Catalog</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="row">
<div class="col.md.6 text-center mx-auto mt-5">
<h1 class="display-1"><img src="img/stick-logo.png" width="100" alt="" class="img-fluid" id="header-img">
Sticks-R-Us</h1>
<form action="https://www.freecodecamp.org/email-submit" id="form">
<div class="form-group mt-5">
<input type="email" class="form-control" id="email" name="email" placeholder="Enter your email">
</div>
<input type="submit" id="submit" class="btn btn-success" value="Subscribe to Newsletter">
</form>
</div>
</div>
</div>
</header>
<!-- QUALITIES -->
<section id="qualities">
<div class="container">
<div class="row mt-5">
<div class="col-md-2 d-none d-md-block">
<i class="fas fa-tree fa-5x"></i>
</div>
<div class="col-md-10">
<h3>Real Wood</h3>
<p>All sticks are made from real wood. Lorem ipsum, dolor sit amet consectetur adipisicing elit. Repellendus
dolorum dolor fuga. Eos, rerum nihil amet laborum odit mollitia minima.</p>
</div>
</div>
<div class="row mt-5">
<div class="col-md-2 d-none d-md-block">
<i class="fas fa-truck fa-5x"></i>
</div>
<div class="col-md-10">
<h3>Fast Shipping</h3>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Repellendus dolorum
dolor fuga. Eos, rerum nihil amet laborum odit mollitia minima. Lorem ipsum dolor sit amet.</p>
</div>
</div>
<div class="row mt-5">
<div class="col-md-2 d-none d-md-block">
<i class="fas fa-certificate fa-5x"></i>
</div>
<div class="col-md-10">
<h3>Satisfaction Guaranteed</h3>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Repellendus dolorum
dolor fuga. Eos, rerum nihil amet laborum odit mollitia minima. Lorem ipsum dolor sit amet.</p>
</div>
</div>
</div>
</section>
<!-- VIDEO -->
<section id="video-section">
<div class="container">
<div class="row">
<div class="col text-center mt-5">
<iframe id="video" width="560" height="315" src="https://www.youtube.com/embed/_7dj6MAWsrc" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
</div>
</section>
<!-- CATALOG -->
<section id="catalog-section" class="mt-5">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="card">
<img src="img/basic-stick.jpg" alt="" class="card-img-top img-fluid">
<div class="card-body text-center">
<h4 class="card-title bg-dark text-white py-3">Basic Stick</h4>
<p class="card-text">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ducimus, architecto quasi
beatae a autem reiciendis!</p>
<h4>$29.99</h4>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="img/club.jpg" alt="" class="card-img-top img-fluid">
<div class="card-body text-center">
<h4 class="card-title bg-dark text-white py-3">Caveman Stick</h4>
<p class="card-text">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ducimus, architecto quasi
beatae a
autem reiciendis!</p>
<h4>$49.99</h4>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="img/walking-stick.jpg" alt="" class="card-img-top img-fluid">
<div class="card-body text-center">
<h4 class="card-title bg-dark text-white py-3">Walking Stick</h4>
<p class="card-text">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ducimus, architecto quasi
beatae a
autem reiciendis!</p>
<h4>$69.99</h4>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- FOOTER -->
<footer id="main-footer" class="bg-dark text-white mt-5 p-3">
<div class="container">
<div class="row">
<div class="col">
<p class="lead text-center">
Copyright © <span id="year"></span> - Barry White
</p>
</div>
</div>
</div>
</footer>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<!-- freecodecamp tests -->
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<script>
// Get the current year for the copyright
$('#year').text(new Date().getFullYear());
</script>
</body>
</html>