123456789101112131415161718192021222324 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>CANVAS</title>
- <style>
- input {
- display: block;
- }
- </style>
- </head>
- <body>
- <canvas id="canvas" width="400px" height="400px"></canvas>
- <div class="operations">
- <input id="colorInput" type='color'/>
- <input id="radiusInput" type='number'/>
- <button id="randomBtn">get random</button>
- </div>
- <script src="./index.js"></script>
- </body>
- </html>
|