-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (33 loc) · 1.49 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" />
<link rel="stylesheet" href="styles.css" />
<title>PaintJS</title>
</head>
<body>
<canvas id="jsCanvas" class="canvas" width="700" height="700"></canvas>
<div class="controls">
<div class="controls__range">
<input type="range" id="jsRange" min="0.1" max="5" value="2.5" step="0.1">
</div>
<div class="controls__btns">
<button id="jsMode">Fill</button>
<button id="jsSave">Save</button>
</div>
<div class="controls__colors" id="jsColors">
<div class="controls__color jsColor" style="background-color: #2c2c2c;"></div>
<div class="controls__color jsColor" style="background-color: white;"></div>
<div class="controls__color jsColor" style="background-color: #ff3b30;"></div>
<div class="controls__color jsColor" style="background-color: #ff9500;"></div>
<div class="controls__color jsColor" style="background-color: #ffcc00;"></div>
<div class="controls__color jsColor" style="background-color: #4cd930;"></div>
<div class="controls__color jsColor" style="background-color: #5ac8fa;"></div>
<div class="controls__color jsColor" style="background-color: #0579ff;"></div>
<div class="controls__color jsColor" style="background-color: #5856d6;"></div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>