summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-03-09 13:34:54 -0400
committerBrian Cully <bjc@spork.org>2025-03-09 13:34:54 -0400
commitbb45a30d1172feed833ca556392a2e8920322c91 (patch)
treea2df0ee4ed7179e4da3332af45fcc389ad80b2e7
parenta8909dc99523240ce238d0e124d02b22333bb61b (diff)
downloadchords-bb45a30d1172feed833ca556392a2e8920322c91.tar.gz
chords-bb45a30d1172feed833ca556392a2e8920322c91.zip
html: add test key selector
-rw-r--r--index.html18
-rw-r--r--main.css4
2 files changed, 22 insertions, 0 deletions
diff --git a/index.html b/index.html
index 99258e2..34d5388 100644
--- a/index.html
+++ b/index.html
@@ -95,6 +95,24 @@
</table>
</form>
+ <form id='key-picker'>
+ <label for='root'>root note:</label>
+ <select id='root' name='root'>
+ <option value='A'>A</option>
+ <option value='B'>B</option>
+ <option value='C' selected>C</option>
+ <option value='D'>D</option>
+ <option value='E'>E</option>
+ <option value='F'>F</option>
+ <option value='G'>G</option>
+ </select>
+ <label for='foo'></label>
+ <select id='foo' name='foo'>
+ <option value='major' selected>major</option>
+ <option value='minor'>minor</option>
+ </select>
+ </form>
+
<script type='module' src='main.mjs'></script>
</body>
</html>
diff --git a/main.css b/main.css
index f716cf5..9fdccd1 100644
--- a/main.css
+++ b/main.css
@@ -3,6 +3,10 @@ body {
background-color: white;
}
+#fretboard {
+ float: left;
+ padding-right: 1em;
+ margin-right: 1em;
}
#fretboard table {