-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
27 lines (25 loc) · 946 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lion Slider</title>
<!-- Link to the CSS file for styling the slider -->
<link rel="stylesheet" href="lion-slider.css">
</head>
<body>
<div class="slider">
<div class="slides">
<!-- Images for the slider -->
<img class="slide" src="images/lion1.jpg" alt="Image #1">
<img class="slide" src="images/lion2.png" alt="Image #2">
<img class="slide" src="images/lion3.png" alt="Image #3">
</div>
<!-- Buttons to navigate through the slider -->
<button class="prev" onclick="prevSlide()">❮</button>
<button class="next" onclick="nextSlide()">❯</button>
</div>
<!-- Link to the JavaScript file for the slider functionality -->
<script src="script.js"></script>
</body>
</html>