Spaces:
Running
Running
Update index.html
Browse files- index.html +40 -18
index.html
CHANGED
|
@@ -1,19 +1,41 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Retro Rotary Dialer - Clicking Sound</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap" rel="stylesheet">
|
| 9 |
+
</head>
|
| 10 |
+
<body>
|
| 11 |
+
<div class="phone-body">
|
| 12 |
+
<div class="display-panel">
|
| 13 |
+
<span id="dialed-numbers"></span>
|
| 14 |
+
<button id="call-button" aria-label="Call">📞</button>
|
| 15 |
+
</div>
|
| 16 |
+
|
| 17 |
+
<div class="dial-assembly">
|
| 18 |
+
<!-- Rotating Dial Plate -->
|
| 19 |
+
<div id="dial">
|
| 20 |
+
<!-- Holes and Numbers generated here -->
|
| 21 |
+
<div class="dial-center-design"></div>
|
| 22 |
+
</div>
|
| 23 |
+
|
| 24 |
+
<!-- Finger Stop -->
|
| 25 |
+
<div id="finger-stop"></div>
|
| 26 |
+
</div>
|
| 27 |
+
|
| 28 |
+
<button id="clear-button">Clear</button>
|
| 29 |
+
|
| 30 |
+
<!-- Audio Elements -->
|
| 31 |
+
<!-- Sound for the main dial return "whoosh" (optional) -->
|
| 32 |
+
<audio id="dial-return-sound" src="rotary-dial-return.mp3" preload="auto"></audio>
|
| 33 |
+
<!-- Sound for the individual clicks -->
|
| 34 |
+
<audio id="dial-click-sound" src="rotary-click.mp3" preload="auto"></audio>
|
| 35 |
+
<!-- NOTE: You need to provide the actual sound files rotary-dial-return.mp3 and rotary-click.mp3 -->
|
| 36 |
+
|
| 37 |
+
</div>
|
| 38 |
+
|
| 39 |
+
<script src="script.js"></script>
|
| 40 |
+
</body>
|
| 41 |
</html>
|