-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (32 loc) · 1.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<html>
<head>
<title>Bio-bots JS</title>
<link rel="stylesheet" href="assets/css/style.css">
<script type="text/javascript" src="assets/js/class_grid.js"></script>
<script type="text/javascript" src="assets/js/class_board.js"></script>
<script type="text/javascript" src="assets/js/biobots.js"></script>
</head>
<body>
<header>
<h1>Bio-bots JS</h1>
<p>This is a demo project to show what we can do with vanilla JavaScript</p>
<p>The programming challenge behind this concept can be found here: <a href="https://onlinejudge.org/external/10/1092.pdf">https://onlinejudge.org/external/10/1092.pdf</a></p>
</header>
<main>
<div id="left">
<div id="settings">
<span>Squares per side:</span><input id="board-size" type="number" value="10" /><br />
<span>Container Pixels:</span><input id="pixels" type="number" value="600" min="100" max="1200" /><br />
<button id="settings-save">Reset Board</button>
</div>
<div id="submit-box">
<button id="run-test">Test the Grid</button>
</div>
<div id="results"></div>
</div>
<div id="right">
<div id="container"></div>
</div>
</main>
</body>
</html>