-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (44 loc) · 1.61 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
34
35
36
37
38
39
40
41
42
43
44
45
<!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>Paint</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/all.min.css">
</head>
<body>
<div class="container">
<div class="strokeFill">
<div class="lineWidth">
<h2>Line Width</h2>
<br>
<input type="number" id="lineInput" value="2" min="1">
</div>
<div class="fillStyle">
<h2>Fill Style</h2>
<br>
<input type="color" id="fill" value="#ffffff">
</div>
<div class="strokeStyle">
<h2>Stroke Style</h2>
<br>
<input type="color" id="stroke">
</div>
</div>
<div class="drawBoard">
<div class="icons">
<i class="pen fa-solid fa-3x fa-pen"></i>
<i class="line fa-solid fa-3x fa-slash"></i>
<i class="square fas fa-3x fa-square-full"></i>
<i class="circle fas fa-3x fa-circle"></i>
<i class="eraser fa-solid fa-3x fa-eraser"></i>
<i class="reload fa-solid fa-3x fa-rotate"></i>
</div>
<canvas id="cvs" width="1000px" height="600px" style="border: 3px solid #000000; background-color: white;"></canvas>
</div>
</div>
<script src="js/script.js"></script>
</body>
</html>