-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (44 loc) · 1.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Infinite Slider</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Slider container to hold and control the slides -->
<div class="slider-container">
<!-- Slider element containing individual slides -->
<div class="slider" id="slider">
<!-- Slide element with an image and a header -->
<div class="slide">
<img src="https://placehold.co/400" alt="Slide 1" />
<h3>1</h3>
</div>
<div class="slide">
<img src="https://placehold.co/400" alt="Slide 2" />
<h3>2</h3>
</div>
<div class="slide">
<img src="https://placehold.co/400" alt="Slide 3" />
<h3>3</h3>
</div>
<div class="slide">
<img src="https://placehold.co/400" alt="Slide 4" />
<h3>4</h3>
</div>
<div class="slide">
<img src="https://placehold.co/400" alt="Slide 5" />
<h3>5</h3>
</div>
<div class="slide">
<img src="https://placehold.co/400" alt="Slide 6" />
<h3>6</h3>
</div>
<!-- Add more slides if needed -->
</div>
</div>
<script src="slider.js"></script>
</body>
</html>