Add a level selector

This commit is contained in:
2024-01-10 07:19:17 +01:00
parent 987388b714
commit b68f84bc98
5 changed files with 196 additions and 105 deletions

View File

@@ -8,7 +8,11 @@
<link rel="stylesheet" href="src/style.css" />
</head>
<body>
<div id="app">
<div id="automaton-selector">
<h1>Select an automaton</h1>
<div id="automaton-collection"></div>
</div>
<div id="app" hidden="hidden">
<div class="input">
<input type="text" id="word-input" autocapitalize="off" spellcheck="false" />
<div id="light"></div>
@@ -20,6 +24,6 @@
<pre id="pen"></pre>
<pre id="state-graph"></pre>
</div>
<script type="module" src="src/fsm.js"></script>
<script type="module" src="src/main.js"></script>
</body>
</html>