-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (33 loc) · 1.02 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Paint</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<canvas id="canvas"></canvas>
<button id="brush">Brush</button>
<button id="pencil">Pencil</button>
<button id="rectangle">Rectangle</button>
<button id="circle">Circle</button>
<button id="triangle">Triangle</button>
<button id="eraser">Eraser</button>
<button id="clear">Clear</button>
<label for="size">
Size:
<input type="number" name="size" id="size" min="0" max="100" value="10">
</label>
<label for="stroke-color">
Stroke Color:
<input type="color" name="stroke-color" id="stroke-color">
</label>
<label for="fill-color">
Fill Color:
<input type="color" name="fill-color" id="fill-color">
</label>
<script src="index.js"></script>
</body>
</html>