-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (56 loc) · 1.87 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
<!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" />
<link rel="stylesheet" href="style.css" />
<link rel="shortcut icon" href="./images/mattel-logo.png" />
<title>Etch-a-Sketch</title>
</head>
<body>
<header>
<h1>Etch-a-Sketch</h1>
</header>
<main class="container">
<div class="button-container">
<button id="quantity" value="1" onclick="setupGrid(1)">1x1</button>
<button id="quantity" value="16" onclick="setupGrid(16)">16x16</button>
<button id="quantity" value="32" onclick="setupGrid(32)">32x32</button>
<button id="quantity" value="64" onclick="setupGrid(64)">64x64</button>
<button class="white" onclick="gridClean()">clear</button>
<button class="rainbow" id="rainbowBtn">rainbow</button>
</div>
<div class="board">
<div class="sketch-header">
<img src="./images/mattel-logo.png" alt="mattel-logo" />
<h2>
magic <span>etch a sketch<span>©</span></span> screen
</h2>
</div>
<div class="sketch-grid"></div>
<div class="knobs-container">
<div class="knob-container">
<input
class="knob-input"
type="color"
id="fav-color"
name="fav-color"
value="#b6b6b6"
/>
</div>
<div class="knob-container">
<div class="knob-eraser" id="knob-eraser"></div>
</div>
</div>
</div>
</main>
<footer class="footer">
<script>
document.write(new Date().getFullYear());
</script>
© Logos and trademarks belong to their respective owners.
</footer>
</body>
<script src="script.js"></script>
</html>