-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (62 loc) · 2.79 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!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 Game</title>
<meta name="author" content="Harmeet Matharoo">
<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=Lobster&family=Raleway:ital,wght@0,400;0,700;1,500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="game-div">
<div id="game-frame-div">
<div id=game-heading-div>
<h1>Etch A Sketch </h1>
<p id="reg">®</p>
</div>
<div id="game-screen-div">
<div id="grid-container"></div>
</div>
<div id="buttons-div">
<div id="control-buttons">
<div id="mode-div">
<form action="/script.js">
<select id="mode" name="mode" onchange="modeChange()">
<option value="modern">Modern</option>
<option value="classic">Classic</option>
<option value="mixed">Mixed</option>
</select>
</form>
</div>
<div id="color-div">
<form action="/script.js">
<select id="colors" name="colors" onchange="colorChange()">
<option value="rainbow">Rainbow</option>
<option value="greyscale">Greyscale</option>
</select>
</form>
</div>
<div id="color-pick-div">
<input type="color" id="color-picker" onchange="colorPick()">
</div>
<div id="size-div">
<input type="range" id="size" name="size" min="4" max="80" value="16" oninput="changeSize()">
</div>
<div id="reset-div">
<button id="reset-button">Clear</button>
</div>
</div>
</div>
</div>
</div>
<footer>
<a id="github-logo-link" href="https://github.com/hmjatt" alt="github-logo"><img id="github-logo-img" src="images/github-logo.png" alt="github-logo"></a>
<p>Harmeet Matharoo © 2022</p>
</footer>
<script src="script.js"></script>
</body>
</html>