first work init
This commit is contained in:
25
index.html
Normal file
25
index.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user