summaryrefslogtreecommitdiffstats
path: root/index.html
blob: 132bbcd5865612e65d01507f10972eaa007a4492 (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset='utf-8'>
    <meta name='viewport' content='width=device-width, initial-scale=1'>
    <title>chord explorer</title>
  </head>

  <body>
    <table id='fretboard'>
      <thead>
        <tr>
          <td>root</td>
          <td>fret 1</td>
          <td>fret 2</td>
          <td>fret 3</td>
          <td>fret 4</td>
          <td>fret 5</td>
        </tr>
      </thead>

      <tbody>
        <tr id='string1'>
          <td>E</td>
          <td><input type='checkbox' name='fret1'></td>
          <td><input type='checkbox' name='fret2'></td>
          <td><input type='checkbox' name='fret3'></td>
          <td><input type='checkbox' name='fret4'></td>
          <td><input type='checkbox' name='fret5'></td>
        </tr>
        <tr id='string2'>
          <td>A</td>
          <td><input type='checkbox' name='fret1'></td>
          <td><input type='checkbox' name='fret2'></td>
          <td><input type='checkbox' name='fret3'></td>
          <td><input type='checkbox' name='fret4'></td>
          <td><input type='checkbox' name='fret5'></td>
        </tr>
        <tr id='string3'>
          <td>D</td>
          <td><input type='checkbox' name='fret1'></td>
          <td><input type='checkbox' name='fret2'></td>
          <td><input type='checkbox' name='fret3'></td>
          <td><input type='checkbox' name='fret4'></td>
          <td><input type='checkbox' name='fret5'></td>
        </tr>
        <tr id='string4'>
          <td>G</td>
          <td><input type='checkbox' name='fret1'></td>
          <td><input type='checkbox' name='fret2'></td>
          <td><input type='checkbox' name='fret3'></td>
          <td><input type='checkbox' name='fret4'></td>
          <td><input type='checkbox' name='fret5'></td>
        </tr>
        <tr id='string5'>
          <td>B</td>
          <td><input type='checkbox' name='fret1'></td>
          <td><input type='checkbox' name='fret2'></td>
          <td><input type='checkbox' name='fret3'></td>
          <td><input type='checkbox' name='fret4'></td>
          <td><input type='checkbox' name='fret5'></td>
        </tr>
        <tr id='string6'>
          <td>E</td>
          <td><input type='checkbox' name='fret1'></td>
          <td><input type='checkbox' name='fret2'></td>
          <td><input type='checkbox' name='fret3'></td>
          <td><input type='checkbox' name='fret4'></td>
          <td><input type='checkbox' name='fret5'></td>
        </tr>
      </tbody>
    </table>

    <script type='module' src='main.mjs'></script>
  </body>
</html>