-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (57 loc) · 1.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!--=============== BOXICONS ===============-->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css"
/>
<!--=============== CSS ===============-->
<link rel="stylesheet" href="./styles.css" />
<title>Responsive Slider</title>
</head>
<body>
<div class="slider">
<!-- fade css -->
<div class="myslide fade">
<div class="txt">
<h1>IMAGE 1</h1>
<p>Web Devoloper<br />The code for this Slider is provided below</p>
</div>
<img class="slider_img" src="./imgs&icons/img1.jpg" />
</div>
<div class="myslide fade">
<div class="txt">
<h1>IMAGE 2</h1>
<p>Web Devoloper<br />The code for this Slider is provided below</p>
</div>
<img class="slider_img" src="./imgs&icons/img3.jpg" />
</div>
<div class="myslide fade">
<div class="txt">
<h1>IMAGE 3</h1>
<p>Web Devoloper<br />The code for this Slider is provided below</p>
</div>
<img class="slider_img" src="./imgs&icons/img5.jpg" />
</div>
<!-- /fade css -->
<!-- onclick js -->
<a class="prev" onclick="plusSlides(-1)"
><i class="bx bx-chevron-left"></i
></a>
<a class="next" onclick="plusSlides(1)"
><i class="bx bx-chevron-right"></i
></a>
<div class="dotsbox" style="text-align: center">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
</div>
<!-- /onclick js -->
</div>
<!--=============== MAIN JS ===============-->
<script src="./script.js"></script>
</body>
</html>