Created
December 18, 2016 07:22
-
-
Save BrentFarris/a257e072b94ec639e265c5b9c4fa6654 to your computer and use it in GitHub Desktop.
HTML5 Game Framework Part 2 Updating the index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>HTML 5 Canvas</html> | |
<style type="text/css"> | |
* {margin:;padding:0;} | |
html, body { | |
background-color: #000; | |
overflow: hidden; | |
height: 100%; | |
} | |
</style> | |
</head> | |
<body> | |
<canvas id="canvas"> | |
Your browser does not support HTML5 canvas. If you would like to view, please update your browser. | |
</canvas> | |
<script src="rectangle.js"></script> | |
<script src="main.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment