-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (51 loc) · 1.25 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Slider</title>
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<div class="slider-container">
<div id="slider">
<div class="slide">
<img src="imgs/img1.jpg" alt="img">
</div>
<div class="slide">
<img src="imgs/img2.jpg" alt="img">
</div>
<div class="slide">
<img src="imgs/img3.jpg" alt="img">
</div>
<div class="slide">
<img src="imgs/img4.jpg" alt="img">
</div>
<div class="slide">
<img src="imgs/img5.jpeg" alt="img">
</div>
<div class="slide">
<img src="imgs/img6.jpeg" alt="img">
</div>
<div class="slide">
<img src="imgs/img7.jpeg" alt="img">
</div>
<div class="slide">
<img src="imgs/img8.jpeg" alt="img">
</div>
<div class="slide">
<img src="imgs/img9.jpeg" alt="img">
</div>
</div>
</div>
</body>
<script src="js/slider.js"></script>
<script>
const options = {
arrows: true,
bullets: true,
itemsPerPage: 3,
itemsToSlide: 3,
};
new Slider(options);
</script>
</html>