index.html 792 B

123456789101112131415161718192021222324
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Document</title>
  8. </head>
  9. <body>
  10. <canvas id="canvas" width="640" height="480"></canvas>
  11. <button id="undo">Undo</button>
  12. <input id="color" type="color">
  13. <select id="tool">
  14. <option value="graffity">graffity</option>
  15. <option value="circle">circle</option>
  16. <option value="line">line</option>
  17. <option value="select">select</option>
  18. <option value="rectengle">rectengle</option>
  19. <option value="ellipse">ellipse</option>
  20. </select>
  21. <button id="delete">delete</button>
  22. <script src="main.js"></script>
  23. </body>
  24. </html>