Last active
June 6, 2017 01:55
-
-
Save snggeng/831a40509ae148e48c64f47bb6e5c03e to your computer and use it in GitHub Desktop.
html for html5 game tutorial
This file contains hidden or 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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>HTML5 Javascript Games!</title> | |
<style> | |
#player { | |
height: 100px; | |
width: 100px; | |
background-color: red; | |
position: absolute; | |
top:50px; | |
left:50px; | |
border-radius: 50%; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="player"></div> | |
<script type="text/javascript" src="player.js"></script> | |
<script type="text/javascript" src="game.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment