summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-12-23 11:14:45 -0500
committerBrian Cully <bjc@spork.org>2025-12-23 11:19:01 -0500
commite101e44b9bc88b3df45a71202d9f9f73773d84ad (patch)
tree0089a328cb9550456d9ac41edc1fd7697feacfcd
parent55981ed9db09d029644725bfe64f6ba390ec0621 (diff)
downloadautomathon-e101e44b9bc88b3df45a71202d9f9f73773d84ad.tar.gz
automathon-e101e44b9bc88b3df45a71202d9f9f73773d84ad.zip
html: validate
-rw-r--r--site/favicon.icobin0 -> 1258 bytes
-rw-r--r--site/index.html12
2 files changed, 7 insertions, 5 deletions
diff --git a/site/favicon.ico b/site/favicon.ico
new file mode 100644
index 0000000..73de524
--- /dev/null
+++ b/site/favicon.ico
Binary files differ
diff --git a/site/index.html b/site/index.html
index 67ce13d..d62f22e 100644
--- a/site/index.html
+++ b/site/index.html
@@ -1,8 +1,10 @@
<!DOCTYPE html>
-<html>
+<html lang='en-US'>
<head>
+ <meta charset='utf-8'>
<title>automathon</title>
<link rel='stylesheet' href='main.css'>
+ <meta name='viewport' content='width=device-width'>
</head>
<body>
@@ -11,14 +13,14 @@
<div id='ff'>
<section id='arena'>
<h2>arena</h2>
- <canvas width='300px' height='300px'>
+ <canvas width='300' height='300'>
oh no! no canvas support!
</canvas>
<div class='controls'>
<!-- <button id='bench'>bench</button> -->
<button id='tick'>
- <svg version='1.1' width='30' height='20' viewbox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'>
+ <svg version='1.1' width='30' height='20' viewbox='0 0 100 100'>
<title>tick</title>
<g class='step' stroke='black' stroke-width='2' fill='red'>
<polyline points='0 0 0 100 55 50 0 0'/>
@@ -27,7 +29,7 @@
</svg>
</button>
<button id='run' class='halten'>
- <svg version='1.1' width='30' height='20' viewbox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'>
+ <svg version='1.1' width='30' height='20' viewbox='0 0 100 100'>
<title>blinken</title>
<g class='play' stroke='black' stroke-width='2' fill='red'>
<polyline points='0 0 0 100 100 50 0 0'/>
@@ -48,7 +50,7 @@
<option>60</option>
</select>
</div> <!-- controls -->
- <label for='fps'>fps: </label><span id='fps'>n/a</span>
+ fps: <span id='fps'>n/a</span>
</section> <!-- arena -->
<section id='robview'>