-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
413 lines (398 loc) · 17.4 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
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
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Online-school</title>
<link rel="shortcut icon" href="src/images/course1.jpg" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
<link rel="stylesheet" href="src/styles/style.css">
</head>
<body>
<div class="filter"></div>
<header>
<div class="container">
<a href="index.html" class="logo">
<img src="src/images/logo.png" alt="logo">
</a>
<nav>
<ul class="nav__ul">
<div class="exit">
<div class="my-button">
<div class="btn-elem"></div>
</div>
</div>
<div class="items">
<li><a href="#">Home</a></li>
<li> <a href="#">Page 5</a></li>
<li> <a href="#">Page 6</a></li>
<li> <a href="#">Page 7</a></li>
</div>
</ul>
<div class="button__box">
<div class="my-button">
<div class="btn-elem"></div>
</div>
</div>
</nav>
</div>
</header>
<main>
<div class="container">
<div class="main__box">
<h1>Online School</h1>
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident</p>
<p>Images from <a href="#">Freepik</a></p>
<a href="#" class="btn main__btn">learn more</a>
</div>
<div class="main__img">
<img src="src/images/main.png" alt="main bg">
</div>
</div>
</main>
<section class="about">
<div class="container">
<h1 class="about__h1">Start learning from
<span>
the world’s best institutions
</span>
</h1>
<div class="about__items">
<div class="item">
<div class="item__head">
<div class="item__num">01</div>
<div class="item__name">Marketing</div>
</div>
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit</p>
</div>
<div class="item">
<div class="item__head">
<div class="item__num">02</div>
<div class="item__name">Marketing</div>
</div>
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit</p>
</div>
<div class="item">
<div class="item__head">
<div class="item__num">03</div>
<div class="item__name">Marketing</div>
</div>
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit</p>
</div>
<div class="item">
<div class="item__head">
<div class="item__num">04</div>
<div class="item__name">Marketing</div>
</div>
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit</p>
</div>
<div class="item">
<div class="item__head">
<div class="item__num">05</div>
<div class="item__name">Marketing</div>
</div>
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit</p>
</div>
<div class="item">
<div class="item__head">
<div class="item__num">06</div>
<div class="item__name">Marketing</div>
</div>
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit</p>
</div>
</div>
<p class="about__p">
Image from
<a href="#">Freepik</a>
</p>
</div>
</section>
<section class="ways">
<div class="container">
<div class="ways__h1">
Pathways for your <span>advancement</span>
</div>
<div class="items">
<div class="item">
<h1>Executive Education</h1>
<div class="line"></div>
<p>Sample text. Click to select the text box. Click again or double click to start editing the text.
</p>
<div class="right__button">
<img src="src/images/arrow-right-long-solid.png" alt="right">
</div>
</div>
<div class="item">
<h1>Professional Certificates
</h1>
<div class="line"></div>
<p>Sample text. Click to select the text box. Click again or double click to start editing the text.
</p>
<div class="right__button">
<img src="src/images/arrow-right-long-solid.png" alt="right">
</div>
</div>
<div class="item">
<h1>Online degree programs</h1>
<div class="line"></div>
<p>Sample text. Click to select the text box. Click again or double click to start editing the text.
</p>
<div class="right__button">
<img src="src/images/arrow-right-long-solid.png" alt="right">
</div>
</div>
</div>
<p class="ways__p">
Image from
<a href="#">Freepik</a>
</p>
</div>
</section>
<section class="school">
<div class="container">
<div class="school__box">
<h1>For every student,
every classroom.
Real results</h1>
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident</p>
<p class="school__link">
Images from
<a href="#">
Freepik
</a>
</p>
<div class="school__btn">
<div class="btn">Learners</div>
<div class="btn">Teachers</div>
<div class="btn">Classes</div>
</div>
</div>
<img src="src/images/girl.jpg" class="school__img" alt="girl">
</div>
</section>
<section class="courses">
<div class="container">
<h1 class="courses__h1">Free Online Courses</h1>
<p class="courses__p">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua.
</p>
<div class="courses__boxes">
<div class="box">
<img src="src/images/course1.jpg" alt="boy">
<div class="texts">
<h1>Arts & Humanities</h1>
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt</p>
<a href="#">MORE</a>
</div>
</div>
<div class="box">
<img src="src/images/course2.jpg" alt="boy">
<div class="texts">
<h1>Health & Medicine</h1>
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt</p>
<a href="#">MORE</a>
</div>
</div>
<div class="box">
<img src="src/images/course3.jpg" alt="boy">
<div class="texts">
<h1>Engineering</h1>
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt</p>
<a href="#">MORE</a>
</div>
</div>
</div>
<p class="courses__link">
Images from
<a href="#">Freepik</a>
</p>
</div>
</section>
<div class="info">
<div class="container">
<div class="info__box">
<div class="info__items">
<div class="info__item">
<div class="info__item-num">
<div class="counter" data-to="50" data-stop="0">0</div>
<div class="span">k</div>
</div>
<p>happy customers</p>
</div>
<div class="info__item">
<div class="info__item-num">
<div class="counter" data-to="60" data-stop="0">0</div>
<div class="span">%</div>
</div>
<p>Sample Headline</p>
</div>
</div>
<div class="info__items">
<div class="info__item">
<div class="info__item-num">
<div class="counter" data-to="100" data-stop="0">0</div>
</div>
<p>our courses</p>
</div>
<div class="info__item">
<div class="info__item-num">
<div class="counter" data-to="1230" data-stop="0">0</div>
</div>
<p>learners worldwide</p>
</div>
</div>
</div>
<div class="info__text">
<h1>The highest quality online courses from institutions</h1>
<p>Sample text. Click to select the Text Element.</p>
<div class="btn">learn more</div>
</div>
</div>
</div>
<div class="review">
<div class="container">
<div class="review__box">
<div class="review__box-item">
<p>
Proin sed libero enim sed faucibus turpis. At imperdiet dui accumsan sit amet nulla facilisi
morbi tempus. Ut sem nulla pharetra diam sit amet nisl. Enim nunc
</p>
<h3>CELIA ALMEDA</h3>
<i class="fa-solid fa-quote-left"></i>
</div>
<div class="review__box-item">
<p>
Proin sed libero enim sed faucibus turpis. At imperdiet dui accumsan sit amet nulla facilisi
morbi tempus. Ut sem nulla pharetra diam sit amet nisl. Enim nunc
</p>
<h3>FRANK KINNEY</h3>
<i class="fa-solid fa-quote-left"></i>
</div>
<div class="review__box-item">
<p>
Proin sed libero enim sed faucibus turpis. At imperdiet dui accumsan sit amet nulla facilisi
morbi tempus. Ut sem nulla pharetra diam sit amet nisl. Enim nunc
</p>
<h3>OLGA IVANOVA</h3>
<i class="fa-solid fa-quote-left"></i>
</div>
<div class="review__box-item">
<p>
Proin sed libero enim sed faucibus turpis. At imperdiet dui accumsan sit amet nulla facilisi
morbi tempus. Ut sem nulla pharetra diam sit amet nisl. Enim nunc
</p>
<h3>JACK ALVAREZ</h3>
<i class="fa-solid fa-quote-left"></i>
</div>
<div class="review__box-item">
<p>
Proin sed libero enim sed faucibus turpis. At imperdiet dui accumsan sit amet nulla facilisi
morbi tempus. Ut sem nulla pharetra diam sit amet nisl. Enim nunc
</p>
<h3>PAUL HUDSON</h3>
<i class="fa-solid fa-quote-left"></i>
</div>
<div class="review__box-item">
<p>
Proin sed libero enim sed faucibus turpis. At imperdiet dui accumsan sit amet nulla facilisi
morbi tempus. Ut sem nulla pharetra diam sit amet nisl. Enim nunc
</p>
<h3>NICK JHONSON</h3>
<i class="fa-solid fa-quote-left"></i>
</div>
</div>
<div class="btn">More</div>
<p class="school__link">Images from <a href="#">Freepik</a></p>
</div>
</div>
<div class="contact">
<div class="container">
<div class="address contact__items">
<h1 class="address_h1">Contact Us</h1>
<p class="address__p">Any questions or remarks? Just write us a message!</p>
<div class="contact__box">
<div class="box__item">
<h3>Sydney</h3>
<p>45 Pirrama Rd, Pyrmont NSW 2022</p>
</div>
<div class="box__item">
<h3>Melbourne</h3>
<p>163 Collins St, Melbourne VIC 3000</p>
</div>
<div class="box__item">
<h3>Los Angeles</h3>
<p>340 Main St, Venice CA 902291, USA</p>
</div>
</div>
<p class="courses__link">
Images from
<a href="#">Freepik</a>
</p>
</div>
<div class="form contact__items">
<h1>Get in Touch</h1>
<p>Have an inquiry or some feedbak for us? Fill out the form below to contact our team.</p>
<form>
<div class="form__item">
<label for="name">Name</label>
<input id="name" placeholder="Enter your name" type="text">
</div>
<div class="form__item">
<label for="email">Email</label>
<input id="email" placeholder="Enter a valid email address" type="email">
</div>
<div class="form__item">
<label for="textarea">How can we help?</label>
<textarea class="input" name="textarea" id="textarea" cols="30" rows="5"></textarea>
</div>
<button class="form__button">SUBMIT</button>
</form>
</div>
</div>
</div>
<footer>
<div class="footer__p">Sample text. Click to select the Text Element.</div>
<div class="footer__links">
<a href="#">Free Landing Page </a>
<span> created with </span>
<a href="#"> Website Builder Software.</a>
</d>
</footer>
</body>
<script src="src/scripts/script.js"></script>
<script>
(function () {
let counter = document.querySelectorAll('.counter');
let limit = 0;
window.addEventListener('scroll', function () {
if (limit == counter.length) { return; }
for (let i = 0; i < counter.length; i++) {
let pos = counter[i].getBoundingClientRect().top;
let win = window.innerHeight - 40;
if (pos < win && counter[i].dataset.stop === "0") {
counter[i].dataset.stop = 1;
let x = 0;
limit++;
let int = setInterval(function () {
x = x + Math.ceil(counter[i].dataset.to / 50);
counter[i].innerText = x;
if (x > counter[i].dataset.to) {
counter[i].innerText = counter[i].dataset.to;
clearInterval(int);
}
}, 70);
}
}
});
})();
</script>
</html>