26 lines
515 B
HTML
26 lines
515 B
HTML
<!DOCTYPE html>
|
|
<html lang="en-US">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Gamedev Canvas Workshop</title>
|
|
<style>
|
|
* {
|
|
padding: 100;
|
|
margin: 100;
|
|
}
|
|
canvas {
|
|
background: grey;
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<canvas id="canvas" width="700" height="320"></canvas>
|
|
<button id="runButton">Start</button>
|
|
<button id="exit">Exit</button>
|
|
|
|
<script src="./script.js"></script>
|
|
</body>
|
|
</html>
|