-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (47 loc) · 1.51 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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Etch-A-Sketch</title>
<link rel="stylesheet" href="./src/styles/style.css">
<script src="./src/scripts/script.js" defer></script>
</head>
<body>
<div class="wrapper">
<div class="header">
<h1>Etch-A-Sketch</h1>
</div>
<div class="container">
<div class="navbar">
<button id="btnSquares">Grid Size</button>
<div class="gridSize">
<input type="range" id="gridSize" name="gridSize" min="2" max="64" value="16">
</div>
<div class="color">
<label for="penColor">Pen Color</label>
<input type="color" id="penColor" value="#000000">
</div>
<div class="color">
<label for="backgroundColor">Background</label>
<input type="color" id="backgroundColor" value="#FFFFFF">
</div>
<button id="btnRandom">Random Color</button>
<button id="btnFader">Fade to black</button>
<button id="btnToggle">Toggle Gridlines</button>
<button id="btnEraser">Eraser</button>
<button id="btnReset">Reset</button>
</div>
<div>
<div class="sketchpad"></div>
<p class="info">Click the grid to toggle Pen!</p>
</div>
</div>
<div class="footer">
<p>Code & Design by Thorwine 2022</p>
<p>The Odin Project</p>
</div>
</div>
</body>
</html>