2024-04-22 19:28:46 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Image Slider Control</title>
|
|
|
|
<link rel="stylesheet" href="style.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
2024-05-02 11:30:46 +02:00
|
|
|
<div id="image-container">
|
2024-04-22 19:28:46 +02:00
|
|
|
<img src="image1.png" alt="Image 1" id="image1">
|
|
|
|
<img src="image2.png" alt="Image 2" id="image2">
|
|
|
|
</div>
|
2024-05-02 11:30:46 +02:00
|
|
|
<div id="slider-container">
|
2024-04-22 19:28:46 +02:00
|
|
|
<!-- Set the value to 0 if range is from -500 to 500 -->
|
2024-05-02 11:30:46 +02:00
|
|
|
<input type="range" id="slider" min="-500" max="500" value="0">
|
|
|
|
<br>
|
|
|
|
<button id="resetovac">RESET</button>
|
2024-04-22 19:28:46 +02:00
|
|
|
</div>
|
|
|
|
<script src="script.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|