forked from bignerdranch/music-frequency-d3
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
22 lines (21 loc) · 943 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Big Nerd Ranch D3 Blog Post</title>
<link rel="stylesheet" href="application.css" />
</head>
<body>
<audio id="audioElement" src="./audio/Odesza - Above The Middle.mp3"></audio>
<div>
<button onclick="document.getElementById('audioElement').play()">Play the Audio</button>
<button onclick="document.getElementById('audioElement').pause()">Pause the Audio</button>
<button onclick="document.getElementById('audioElement').volume+=0.1">Increase Volume</button>
<button onclick="document.getElementById('audioElement').volume-=0.1">Decrease Volume</button>
</div>
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="http:https://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="app.js"></script>
</body>
</html>