Fretmachine is an interactive guitar neck that I designed for learning music theory on the guitar. For this implementation, I deployed the tool in a custom WordPress site, using JavaScript to define the functionality for the neck.
The meat-and-potatoes code for the neck functionality is baked into these files: