-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (57 loc) · 1.48 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
56
57
<!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="css/style.css">
<link rel="icon" href="favicon.png">
<title>Etch a Sketch</title>
</head>
<body>
<div class="wrapper">
<header>
<h1>Etch a Sketch</h1>
</header>
<div class="main">
<div class="controls-wrapper">
<div class="controls">
<div>
<div class="controls-title">Grid size:
<span id="gridsize-label"></span>
</div>
<input
type="range"
id="gridsize"
name="gridsize"
value="20"
min="1"
max="60"
step="1"
>
</div>
<div>
<input type="color" id="gridColor" name="gridColor"
value="#ffffff">
<label class="controls-title" for="gridColor">Grid Background</label>
</div>
<div>
<input type="color" id="penColor" name="penColor"
value="#000000">
<label class="controls-title" for="penColor">Pen Color</label>
</div>
<div>
<button id="erase-grid">Erase</button>
</div>
<div>
<button id="clean-grid">Clean</button>
</div>
</div>
</div>
<div class="grid-wrapper">
<div class="grid-container"></div>
</div>
</div>
</div>
<script src="js/main.js"></script>
</body>
</html>