ccdp10003-project01/index.html

26 lines
765 B
HTML
Raw Normal View History

2023-04-18 01:40:26 +10:00
<!DOCTYPE html>
<html>
<head>
<title>The Myrtle Tree</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<main class="wrapper">
<button class="centre">Click to begin</button>
<section class="controls">
<button id="play" onclick="playAudio()">Play</button>
<button id="pause" onclick="pauseAudio()">Pause</button>
<button id="stop" onclick="stopAudio()">Stop</button>
<audio id="backgroundAudio" src="public/audio/roli.webm" type="audio/webm">
</section>
<footer>
<p>The Myrtle Tree - A game about sound and reliving memories.</p>
<p>By Rory Healy.</p>
</footer>
</main>
<script src="main.js"></script>
</body>
</html>