-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (38 loc) · 1.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Carousel</title>
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<div class="carousel">
<button class="carousel__button carousel__button--left">
<img src="./img/left.svg" alt="">
</button>
<div class="carousel__track-container">
<ul class="carousel__track">
<li class="carousel__slide current-slide">
<img class="carousel__image" src="./img/slide-1.jpg" alt="">
</li>
<li class="carousel__slide">
<img class="carousel__image" src="./img/slide-2.jpg" alt="">
</li>
<li class="carousel__slide">
<img class="carousel__image" src="./img/slide-3.jpg" alt="">
</li>
</ul>
</div>
<button class="carousel__button carousel__button--right">
<img src="./img/right.svg" alt="">
</button>
<div class="carousel__nav">
<button class="carousel__indicator current-slide"></button>
<button class="carousel__indicator"></button>
<button class="carousel__indicator"></button>
</div>
</div>
<script src="./js/carousel.js"></script>
</body>
</html>