You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112131415161718192021222324 |
- <main>
- <h1>Game</h1>
-
- <a on:click={play} href="#/play">Start</a>
- </main>
-
- <style>
- main {
- max-width: 1000px;
- margin: auto;
- }
-
- a {
- color: #aaa;
- }
- </style>
-
- <script>
- function play() {
- let el = document.getElementById("soundtrack");
- console.log(el);
- el.play();
- }
- </script>
|