-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (48 loc) · 1.57 KB
/
Copy pathindex.html
File metadata and controls
51 lines (48 loc) · 1.57 KB
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
<!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="styles.css" />
<script src="app.js" defer></script>
<title>Etch A Sketch!</title>
</head>
<body>
<div class="container">
<div class="content-container">
<div class="settings">
<h1 class="title">Etch A Sketch!</h1>
<input
type="color"
id="color-picker"
name="color picker"
value="#000000"
/>
<div class="btn-container">
<button type="button" id="eraser" class="">Eraser</button>
<button type="button" id="clear">Clear</button>
<button type="button" id="grayscale" class="color-mode">Grayscale</button>
<button type="button" id="lighten" class="color-mode">Lighten</button>
<button type="button" id="rainbow" class="color-mode">Rainbow</button>
</div>
<p id="grid-value">Grid size: 32x32</p>
<input
type="range"
min="1"
max="100"
value="32"
class="slider"
id="grid-slider"
/>
</div>
<div class="sketch-container"><div class="sketch"></div></div>
</div>
</body>
<footer class="footer">
<a href="https://github.com/xandreiAThome/Etch-a-Sketch"
>Built by: xandreiAThome<img
src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
/></a>
</footer></div>
</html>