summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-03-09 13:40:07 -0400
committerBrian Cully <bjc@spork.org>2025-03-09 13:40:07 -0400
commit180c53706938f9afa899cf29e923ce6a2f41b50c (patch)
tree6cd5ed796d1da5949b93805b4cb347d554f16d8a
parentbb45a30d1172feed833ca556392a2e8920322c91 (diff)
downloadchords-180c53706938f9afa899cf29e923ce6a2f41b50c.tar.gz
chords-180c53706938f9afa899cf29e923ce6a2f41b50c.zip
html: put key selection in fieldset
-rw-r--r--index.html33
1 files changed, 18 insertions, 15 deletions
diff --git a/index.html b/index.html
index 34d5388..1c0afff 100644
--- a/index.html
+++ b/index.html
@@ -96,21 +96,24 @@
</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>
+ <fieldset>
+ <legend>key</legend>
+ <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>
+ </fieldset>
</form>
<script type='module' src='main.mjs'></script>