Guitar.js is a guitar fretboard rendering library.
- Responsive-frendly
- Fully customizable
- No dependencies
- Fine default look
Note: documentation has more information
<script src="some_dir/guitar.js/build/guitar.min.js"></script>
<div id='guitar'></div>
var guitar = new Guitar('guitar'); // Use your container id
var guitar = new Guitar('guitar', {
'end-fret': 5 // Creates a fretboard with frets from 1 to 5 (inclusive)
});
Doesn't forget to adjust container size.