-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (33 loc) · 872 Bytes
/
index.html
File metadata and controls
36 lines (33 loc) · 872 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>WebPaint</title>
<link rel="stylesheet" type="text/css" href="./styles/main.css">
</head>
<body style="margin:0;">
<div id="toolbar">
<div id="rad">
Radius <span id="radval">10</span>
<div id="decrad" class="radcontrol">-</div>
<div id="incrad" class="radcontrol">+</div>
</div>
<div id="colors">
<!--<div class="swatch active" style="background-color:red;"></div>
<div class="swatch" style="background-color:green;"></div>
<div class="swatch" style="background-color:blue;"></div>-->
</div>
<div class="btn" onclick="clearScr();">
Clear
</div>
<div class="btn" onclick="save();">
Save
</div>
</div>
<canvas id="mycanvas">
Sorry, Canvas not supported !
</canvas>
<script src="./script/main.js"></script>
<script src="./script/radius.js"></script>
<script src="./script/colors.js"></script>
</body>
</html>