-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (62 loc) · 1.7 KB
/
index.html
File metadata and controls
64 lines (62 loc) · 1.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Creative Paint Board</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="color-options">
<input id="color" type="color" />
<div
class="color-option"
style="background-color: #55efc4"
data-color="#55efc4"
></div>
<div
class="color-option"
style="background-color: #00b894"
data-color="#00b894"
></div>
<div
class="color-option"
style="background-color: #74b9ff"
data-color="#74b9ff"
></div>
<div
class="color-option"
style="background-color: #a29bfe"
data-color="#a29bfe"
></div>
<div
class="color-option"
style="background-color: #fab1a0"
data-color="#fab1a0"
></div>
<div
class="color-option"
style="background-color: #ff7675"
data-color="#ff7675"
></div>
<div
class="color-option"
style="background-color: #ffeaa7"
data-color="#ffeaa7"
></div>
</div>
<canvas></canvas>
<div class="btns">
<input id="line-width" type="range" min="1" max="10" value="5" />
<button id="mode-btn">Fill</button>
<button id="destroy-btn">Destroy</button>
<button id="erase-btn">Erase</button>
<label for="file">
Add Photo <input type="file" accept="image/*" id="file"
/></label>
<input type="text" placeholder="Add text" id="text" />
<button id="save">Save Image</button>
</div>
<script src="app.js"></script>
</body>
</html>