-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (47 loc) · 1.9 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
<!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>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="background">
<div class="containerColumn">
<h1>Etch-a-Sketch</h1>
<div class="container main-container">
<div class="containerColumn buttons">
<button onclick="reset()">reset</button>
<button onclick="toggleGrid()">toggle grid</button>
<button onclick="toggleRainbow()">Toggle Rainbow</button>
<div class="container">
<input class="colorPicker" type="color" id="head" name="colorPicker" value="#000000" oninput="selectColor(this.value)">
<label for="colorPicker">Color Picker</label>
</div>
<div class="container sliderDiv">
<input type="range" name="slider" min="1" max="64" steps="1" oninput="drawCanvas(this.value)">
<label for="slider">Grid Size</label>
</div>
</div>
<div class="canvas"></div>
</div>
<div style="white-space: pre-wrap;">
</div>
<div class="colorPal">
<div class="one"></div>
<div class="two"></div>
<div class="three"></div>
<div class="four"></div>
<div class="five"></div>
</div>
</div>
<div class="container">
<footer>Copyright © 2022 AKanoniOS</footer>
<div class="colorPallette"></div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>