|
@@ -0,0 +1,28 @@
|
|
|
|
+<!DOCTYPE html>
|
|
|
|
+<html lang="en">
|
|
|
|
+
|
|
|
|
+<head>
|
|
|
|
+ <meta charset="UTF-8">
|
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
+ <title>Cлайдер</title>
|
|
|
|
+ <link rel="stylesheet" href="./style.css">
|
|
|
|
+</head>
|
|
|
|
+
|
|
|
|
+<body>
|
|
|
|
+ <div class="container">
|
|
|
|
+ <h1>Слайдер на js</h1>
|
|
|
|
+ <div class="slider">
|
|
|
|
+ <div class="slider-line">
|
|
|
|
+ <img src="./images/elephant.png" alt="">
|
|
|
|
+ <img src="./images/gorilla.png" alt="">
|
|
|
|
+ <img src="./images/home.png" alt="">
|
|
|
|
+ <img src="./images/ice_cream.png" alt="">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <button class="slider-prev">Prev</button>
|
|
|
|
+ <button class="slider-next">Next</button>
|
|
|
|
+ </div>
|
|
|
|
+ <script src="script.js"></script>
|
|
|
|
+</body>
|
|
|
|
+
|
|
|
|
+</html>
|