diff options
author | Grant Shangreaux <grant@unabridgedsoftware.com> | 2020-12-23 21:33:28 -0600 |
---|---|---|
committer | Grant Shangreaux <grant@unabridgedsoftware.com> | 2020-12-23 21:33:28 -0600 |
commit | 55e8d9d7519cad97a0f5428554806d9eb8e7a00f (patch) | |
tree | 52fa305a3e0284b4ae1135dcd681f535422a4658 /tape-deck.html | |
parent | 6036e5edc9f2b3290c0b0446b02f698c2e39295e (diff) |
Fix: css reloading by adding version query param
Diffstat (limited to 'tape-deck.html')
-rw-r--r-- | tape-deck.html | 73 |
1 files changed, 37 insertions, 36 deletions
diff --git a/tape-deck.html b/tape-deck.html index fec8fe7..cf0fc92 100644 --- a/tape-deck.html +++ b/tape-deck.html @@ -1,39 +1,40 @@ <!DOCTYPE html> <html lang=en> - <head> - <meta charset=UTF-8> - <link rel="stylesheet" type="text/css" href="style.css"> - <title>Tape Deck</title> - </head> - <body> - <div class="tape-deck-container"> - <div class="tape-deck"> - <img id="tape-deck" class="tape-deck-img" src="images/cool-deck.png"> - </div> - <div class="button-container"> - <button onclick="rewind()" id="rewind" class="touch-button"> - <img class="play-button" id="rewind-img" src="images/rewind-button-up.jpg"> - </button> - <button onclick="play()" id="play" class="touch-button"> - <img class="play-button" id="play-img" src="images/play-button-up.jpg"> - </button> - <button onclick="ff()" id="ff" class="touch-button"> - <img class="play-button" id="ff-img" src="images/ff-button-up.jpg"> - </button> - </div> - <div class="notes"> - <p id="notes"></p> - </div> - <p> - Start the tape with the play button, press it again to pause. - Fast-Forward and Rewind buttons are meant to be pressed once, - they'll advance the tape by 20s and then continue playing. - Hit the reset tape button to start it from the beginning, the - website will store your current position on the tape in your - browser, so it should resume the next time you play the tape. - </p> - <button onclick="reset()"> reset tape </button> - </div> - <script type="module" src="tape-deck.js"></script> - </body> + <head> + <meta charset=UTF-8> + <link rel="stylesheet" type="text/css" href="style.css?version=2"> + <link rel="stylesheet" media="screen" href="https://fontlibrary.org/face/gnu-unifont" type="text/css"/> + <title>Tape Deck</title> + </head> + <body> + <div class="tape-deck-container"> + <div class="tape-deck"> + <img id="tape-deck" class="tape-deck-img" src="images/cool-deck.png"> + </div> + <div class="button-container"> + <button onclick="rewind()" id="rewind" class="touch-button"> + <img class="play-button" id="rewind-img" src="images/rewind-button-up.jpg"> + </button> + <button onclick="play()" id="play" class="touch-button"> + <img class="play-button" id="play-img" src="images/play-button-up.jpg"> + </button> + <button onclick="ff()" id="ff" class="touch-button"> + <img class="play-button" id="ff-img" src="images/ff-button-up.jpg"> + </button> + </div> + <div class="notes"> + <p id="notes"></p> + </div> + <p> + Start the tape with the play button, press it again to pause. + Fast-Forward and Rewind buttons are meant to be pressed once, + they'll advance the tape by 20s and then continue playing. + Hit the reset tape button to start it from the beginning, the + website will store your current position on the tape in your + browser, so it should resume the next time you play the tape. + </p> + <button onclick="reset()"> reset tape </button> + </div> + <script type="module" src="tape-deck.js"></script> + </body> </html> |