pixelbattle/html/index.html

18 lines
664 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Pixel Battle</title>
<meta charset="UTF-8">
</head>
<body style="background-color: grey;">
<p>
<input type="color" id="color" />
<input type="button" id="submitColor" value="change color" onclick="changeColor()"/>
</p>
<canvas id="board" width="1920" height="1080" style="border:1px solid #000000;" display="block">
</canvas>
<canvas hidden id="hidden" width="1920" height="1080" style="border:1px solid #000000;" display="block">
</canvas>
<script type="text/javascript" src="./logic.js"></script>
</body>
</html>