-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (41 loc) · 1.25 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
<!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="./styles.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap"
rel="stylesheet"
/>
</head>
<body>
<header>
<h1>Etch-a-Sketch</h1>
</header>
<div class="content-container">
<div class="input-container">
<label for="colorPicker">Color</label>
<input id="colorPicker" type="color" name="colorPicker" />
<label id="rangeLabel" for="square-size">16x16</label>
<input
type="range"
id="squareSize"
name="square-size"
value="16"
min="1"
max="64"
step="1"
/>
<button id="cleanGrid">clean grid</button>
<p>Right-click clear squares</p>
</div>
<div class="grid-container"></div>
<script src="./index.js"></script>
</div>
</body>
</html>