-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (75 loc) · 2 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>ECMA-sketch</title>
<link rel="stylesheet" href="style.css" />
<script src="script.js" defer></script>
</head>
<body>
<header>
<h1>ECMA-sketch</h1>
<div></div>
</header>
<main>
<div class="main-flex-left"></div>
<!-- Control section -->
<div id="control-div">
<div class="control-flex"></div>
<!-- Color picker -->
<div id="color-div">
<input
type="color"
id="color-picker"
name="color-picker"
value="#006969"
/><label for="color-picker">Color selector</label>
</div>
<!-- Main control block -->
<ul id="controls">
<li>
<div id="solid-color" class="button">
<span>Solid color</span>
</div>
</li>
<li>
<div id="random-color" class="button">
<span>Random color</span>
</div>
</li>
<li>
<div id="light-dark-button" class="button">
<span id="lighten">Lighten</span> /
<span id="darken">Darken</span>
</div>
</li>
<li><div id="clear" class="button">Clear</div></li>
<li>
<div id="grid-slider" class="button">
<input
type="range"
id="grid-size"
name="grid-size"
min="4"
max="64"
/>
<label id="slider-label" for="grid-size">
Grid size: 24 x 24</label
>
</div>
</li>
</ul>
<div class="control-flex"></div>
</div>
<!-- Grid section -->
<div id="sketch">
<!-- Anchor for the grid produced by createGrid -->
</div>
<div class="main-flex-right"></div>
</main>
<footer>
<div></div>
<h5>© strbytes 2022</h5>
</footer>
</body>
</html>