-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathddd.html
More file actions
29 lines (24 loc) · 978 Bytes
/
ddd.html
File metadata and controls
29 lines (24 loc) · 978 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Restaurant</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Tinos:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<label for="number-range">Number Range:</label>
<input type="range" id="number-range" min="0" max="100" value="50">
<p id="number-display">50</p>
<script>
const numberRange = document.getElementById('number-range');
const numberDisplay = document.getElementById('number-display');
numberRange.addEventListener('input', () => {
const newValue = numberRange.value;
numberDisplay.textContent = newValue;
});
</script>
</body>