Spaces:
Running
Running
File size: 1,459 Bytes
814815e 10667d9 814815e 10667d9 |
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 30 31 32 33 34 35 36 37 38 39 40 41 42 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Updated Title Here -->
<title>RotaryDial ☎️</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<div class="phone-body">
<div class="display-panel">
<span id="dialed-numbers"></span>
<button id="call-button" aria-label="Call">📞</button>
</div>
<div class="dial-assembly">
<!-- Rotating Dial Plate -->
<div id="dial">
<!-- Holes and Numbers generated here -->
<div class="dial-center-design"></div>
</div>
<!-- Finger Stop -->
<div id="finger-stop"></div>
</div>
<button id="clear-button">Clear</button>
<!-- Audio Elements -->
<!-- Sound for the main dial return "whoosh" (optional) -->
<audio id="dial-return-sound" src="rotary-dial-return.mp3" preload="auto"></audio>
<!-- Sound for the individual clicks -->
<audio id="dial-click-sound" src="rotary-click.mp3" preload="auto"></audio>
<!-- NOTE: You need to provide the actual sound files rotary-dial-return.mp3 and rotary-click.mp3 -->
</div>
<script src="script.js"></script>
</body>
</html> |