import { registerIncludeComponent } from "./components/include.js"; function app() { registerIncludeComponent(); } document.addEventListener("DOMContentLoaded", app); var last = 'buttons'; const show = i => document.getElementById(i).hidden = false; const hide = i => document.getElementById(i).hidden = true; function next(i) { hide(last); last = i; show(i); } function restart() { show('buttons'); hide(last); last = 'buttons'; }