repl.it
@Coding1000/

Canvas Game-3

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • bam2.jpg
  • panda.png
  • script.js
  • straw.jpeg
  • style.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <link rel="icon" type="image/png" href="panda.png">
    <title>My Game</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
  </head>
  <body onload="startGame()">
    <h1>My Game</h1>
    <canvas width="500px" height="500px" id="gc"></canvas>
    <script src="script.js"></script>
  </body>
</html>
result
console
?