Harrington Web

Display Guitar Chords on webpage

Wednesday, September 14, 2016
Sometimes its nice to have a handy tool for displaying different chords on a web page. For instance lets say that you want to show off some lyrics with chords to teach someone a song. I created ChordTab to have a simple way to display those chords.

Code Sample

svg {
    width: 100px;

<c-tab chord="g" instrument="guitar">
<script src="https://gitcdn.xyz/repo/blh0021/chordTab/master/src/tab.min.js"></script>

Sample Chord

Other Instruments

In addition to guitar, you can also change the instrument attribute to mandolin, ukulele, or banjo. Currently not every chord has been created data wise but work is being done all the time.

No comments :

Post a Comment