-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (77 loc) · 2.35 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Image Slider</title>
<link rel="stylesheet" href="style.css" />
<script src="script.js" defer></script>
<!-- social links for refinedguides.com -->
<script
src="https://refinedguides.com/assets/social.js?linkColor=%23ffa500&textColor=%32333"
defer
></script>
</head>
<body>
<h1>Image Slider</h1>
<div class="slider-container">
<div class="slider">
<div class="slide">
<img
src="https://images.pexels.com/photos/33545/sunrise-phu-quoc-island-ocean.jpg"
alt=""
/>
<div class="slide-content">
<h3>Slide 1 Title</h3>
<p>Slide 1 Description</p>
</div>
</div>
<div class="slide">
<img
src="https://images.pexels.com/photos/46178/teddy-bear-bear-children-toys-forest-46178.jpeg"
alt=""
/>
<div class="slide-content">
<h3>Slide 2 Title</h3>
<p>Slide 2 Description</p>
</div>
</div>
<div class="slide">
<img
src="https://images.pexels.com/photos/3225517/pexels-photo-3225517.jpeg"
alt=""
/>
<div class="slide-content">
<h3>Slide 3 Title</h3>
<p>Slide 3 Description</p>
</div>
</div>
</div>
<button class="nav prev">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="24"
height="24"
>
<path
d="M15.28 5.22a.75.75 0 0 1 0 1.06L9.56 12l5.72 5.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215l-6.25-6.25a.75.75 0 0 1 0-1.06l6.25-6.25a.75.75 0 0 1 1.06 0Z"
></path>
</svg>
</button>
<button class="nav next">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="24"
height="24"
>
<path
d="M8.72 18.78a.75.75 0 0 1 0-1.06L14.44 12 8.72 6.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l6.25 6.25a.75.75 0 0 1 0 1.06l-6.25 6.25a.75.75 0 0 1-1.06 0Z"
></path>
</svg>
</button>
<div class="dots"></div>
</div>
</body>
</html>