index.html 1.1 KB

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width" />
  6. <title>JavaScript Canvas</title>
  7. <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
  8. <script src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/4.1.3/papaparse.min.js"></script>
  9. <script src="http://gitlab.a-level.com.ua/gitgod/nanobind/raw/master/static/nb.js"></script>
  10. <link rel="stylesheet" href="styles.css" />
  11. </head>
  12. <body>
  13. <canvas id="canvas" width="400" height="400"></canvas>
  14. <button id="undo">UNDO</button>
  15. <input type="color" id="color" />
  16. <select id="tool">
  17. <option value="graffity">Graffity</option>
  18. <option value="circle">Circle</option>
  19. <option value="line">Line</option>
  20. <option value="rectangle">Rectangle</option>
  21. <option value="ellipse">Ellipse</option>
  22. <option value="select">Select</option>
  23. </select>
  24. <input type="number" id="size" value="10" />
  25. <button id="delete">Delete...</button>
  26. <script src="index.js"></script>
  27. </body>
  28. </html>