interfaces/topic_4/example2/index.html

26 lines
693 B
HTML
Raw Normal View History

2023-04-07 05:21:44 +00:00
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Слайдер</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="slider">
<div class="slider-line">
<img src="img/pic1.webp" width="256" height="256" alt="">
<img src="img/pic2.png" width="256" height="256" alt="">
<img src="img/pic3.webp" width="256" height="256" alt="">
</div>
</div>
<button class="slider-prev" onclick="nextSlide()">Назад</button>
<button class="slider-next" onclick="previousSlide()">Дальше</button>
</div>
<script src="script.js"></script>
</body>
</html>