Skip to content

Instantly share code, notes, and snippets.

@ssaurel
Created January 18, 2024 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssaurel/52d2a7ffd8b417fb48e27ae86237487f to your computer and use it in GitHub Desktop.
Save ssaurel/52d2a7ffd8b417fb48e27ae86237487f to your computer and use it in GitHub Desktop.
Step 1 for creating a Snake on SSaurel's Blog
<html>
<head>
<title>Snake on SSaurel's Blog</title>
<style type="text/css">
#title {
width: 400px;
text-align: center;
margin: auto;
margin-top: 20px;
margin-bottom: 50px;
font-size: 20px;
font-weight: bold;
}
#content {
width: 800px;
border: 1px solid black;
margin: auto;
}
</style>
</head>
<body>
<div id="title">Snake on SSaurel's Blog</div>
<div id="content">
<canvas id="board" />
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment