-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (53 loc) · 1.69 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
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title></title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="index.css" />
</head>
<body>
<div id="wrapper">
<div id="title">Etch-A-Sketch</div>
<div id="button-box">
<div id="colorPicker">
<input id="colorValue" type="color" value="#000000" />
</div>
<div id="color-mode">
<button id="cButton" onclick="modeHandler(modes, 'cButton')">
Color Mode
</button>
</div>
<div id="shade-mode">
<button id="sButton" onclick="modeHandler(modes, 'sButton')">
Shade Mode
</button>
</div>
<div id="rainbow-mode">
<button id="rButton" onclick="modeHandler(modes, 'rButton')">
Rainbow Mode
</button>
</div>
<div id="eraser-mode">
<button id="eButton" onclick="modeHandler(modes, 'eButton')">
Eraser Mode
</button>
</div>
<div id="clear" onclick="makeRows(iV, iV)">
<button>Clear Canvas</button>
</div>
<div id="canvas-size">
<input id="inputRange" type="range" min="1" max="64" value="16" />
<p>Canvas Size: <output id="rangeValue"></output></p>
</div>
</div>
<div id="grid">
<div id="container"></div>
</div>
<div id="empty-box"></div>
</div>
<script src="index.js" async defer></script>
</body>
</html>