Because we need the console to dev but it's not available everywhere
<link rel="stylesheet" href="https://unpkg.com/stupidconsole/dist/stupid-console.min.css">
<script src="https://unpkg.com/stupidconsole/dist/stupid-console.min.js"></script>
Download with NPM npm install stupidconsole
Allow you to build custom debug window easily
var gui = new StupidConsole.Gui('myGui');
gui.addButton("yo", function() {
console.log("yoooo")
});
gui.addInputText("type some text", "my content", function(newText, event) {
console.log("text changed to " + newText);
});
gui.addCheckbox("uncheck this box", true, function(checked) {
console.log("checkbox " + checked);
});
gui.addButton("hey", function() {
console.log("heyyyyy")
});
gui.addSelect("select one value", ["Value1", "Value2", "Value3"], function(index) {
console.log("select changed " + index);
});