-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (60 loc) · 2.59 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
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.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=Cedarville+Cursive&family=Rubik:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="shortcut icon" href="favicon.ico">
<script src="js/script.js" defer></script>
<title>Etch A Sketch</title>
</head>
<body>
<header class="flex-center">
<h1>Etch A Sketch</h1>
</header>
<main class="flex-center">
<div class="cards">
<div class="info-card">
<h2>About</h2>
<p>This tool was created in inspiration of the classic Etch-A-Sketch toy.
Overthinking is no good, just start using it already.
<strong>Have Fun! ^^</strong>
</p>
</div>
<div class="info-card">
<h2>How to use this tool</h2>
<ol>
<li>Choose the <strong>size</strong> of the canvas</li>
<li>Choose a <strong>color</strong>, or <strong>random</strong> for a beautiful rainbow of colors</li>
<li>Start sketcing!</li>
</ol>
</div>
</div>
<div class="container">
<div class="toolbox">
<div class="buttons">
<input id="colorSelector" type="color" value="#be5b8c">
<button id="colorBtn">Color Mode</button>
<button id="rainbowBtn">Rainbow Mode</button>
<button id="eraserBtn">Eraser</button>
<button id="clearBtn">Clear</button>
</div>
<div class="scroll">
<label for="gridRange">Grid Size</label>
<input id="gridRange" type="range" value="16" min="1" max="64" oninput="rangeValue.value=value">
<output id="rangeValue">16</output>
</div>
</div>
<div class="grid-container" id="gridContainer">
</div>
</div>
</main>
<footer class="flex-center">
<p>Copyright © <a href="https://github.com/S-Y-A-N" target="_blank">S-Y-A-N <i class="fa fa-github"></i></a></p>
</footer>
</body>
</html>