Skip to content

Instantly share code, notes, and snippets.

@bashbaugh
Last active February 24, 2019 04:58
Show Gist options
  • Select an option

  • Save bashbaugh/d5f5017fadffcdb0dc3906cef590a45d to your computer and use it in GitHub Desktop.

Select an option

Save bashbaugh/d5f5017fadffcdb0dc3906cef590a45d to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>JavaScript Game</title>
</head>
<body onload="init()">
<h1>JavaScript Game</h1>
<p>Here is a simple JavaScript game:</p>
<canvas id="c" width="400" height="400"></canvas>
<script>
// This is where the JavaScript will go.
// Just in case you were wondering, you can make a comment in JavaScript by starting the line with //.
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment