This web application makes use of JavaScript for both toggling the individual data items as HTML elements and grabbing a random choice from the enabled elements. To be clear, you must have JavaScript enabled in your browser for this to work properly. If not, the app may not be able to produce the intended results.
The code behind this project is fueled by Vue.js, a unique and highly adaptive development kit for web-based applications. Vue allows for dynamic development, and it's also the reason that the Inspect Element code looks very different from the source code on GitHub. This is my first larger-scale project to make use of Vue, so some of my implementations may not be perfect, but I'm always learning and adjusting my code as I improve!
To learn more about Vue.js, check out their site.
This project is hosted courtesy of GitHub. The code backing this webapp is also open-source in a GitHub repository, which can be found here. If you notice a problem that wasn't solved above or find an error I didn't catch, feel free to leave either an issue or pull request in the repo linked above. While I have a lot of things I want to try to accomplish with this project, I am also open to suggestions!