-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
78 lines (75 loc) · 3.3 KB
/
index.html
File metadata and controls
78 lines (75 loc) · 3.3 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Drawing Board</title>
<link rel="stylesheet" href="./src/style.css">
<script src="./src/script.js" defer></script>
</head>
<body>
<div class="wrapper">
<div class="container">
<section class="tools">
<div class="toolbox">
<div class="shapes row">
<Label class="title">Shapes</Label>
<ul class="options">
<li class="option tool" id="rectangle">
<img src="./assets/icons/rectangle.svg" alt="">
<span>Rectangle</span>
</li>
<li class="option tool" id="circle">
<img src="./assets/icons/circle.svg" alt="">
<span>Circle</span>
</li>
<li class="option tool" id="triangle">
<img src="./assets/icons/triangle.svg" alt="">
<span>Triangle</span>
</li>
<li class="option">
<input type="checkbox" id="fill-color">
<label for="fill-color">Fill Color</label>
</li>
</ul>
</div>
<div class="optionbox row">
<Label class="title">Options</Label>
<ul class="options">
<li class="option tool" id="brush">
<img src="./assets/icons/brush.svg" alt="">
<span>Brush</span>
</li>
<li class="option tool" id="eraser">
<img src="./assets/icons/eraser.svg" alt="">
<span>Eraser</span>
</li>
<li class="option"><input type="range" id="size-slider" min="1" max="20" value="5"></li>
</ul>
</div>
<div class="colors row">
<label>Colors</label>
<ul class="options">
<li class="option"></li>
<li class="option"></li>
<li class="option"></li>
<li class="option"></li>
<li class="option">
<input type="color" name="" id="color-picker">
</li>
</ul>
</div>
<div class="buttons row">
<button type="button" id="clearCanvas">Clear Canvas</button>
<br>
<button type="button" id="saveAsImage">Save As Image</button>
</div>
</div>
</section>
<section class="drawingArea">
<canvas id="sheet"></canvas>
</section>
</div>
</div>
</body>
</html>