-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (55 loc) · 2.12 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
<!DOCTYPE html>
<html>
<head>
<link rel="dns-prefetch" href="https://fonts.googleapis.com">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta charset="utf-8">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="prefetch" href="https://fonts.googleapis.com/css?family=Monoton">
<title>Pixel Art Maker!</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Monoton">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Lab: Pixel Art Maker</h1>
<h2>Choose Grid Size</h2>
<form id="size-picker">
Grid Height:
<input type="number" id="input_height" name="height" min="2" max="200" value="2">
Grid Width:
<input type="number" id="input_width" name="width" min="2" max="200" value="2">
<input type="submit">
</form>
<div class="instructions">
<h2>Instructions</h2>
<ul class="instruction-list">
<li class="instruction-item">
Click on a cell on the canvas</li>
<li class="instruction-item">
Choose a color from the color picker
</li>
<li class="instruction-item">
<h4>Optional :</h4>
<p>Choose a color from the color picker below the canvas, and click on all cells you want that color on</p>
<p>Changed your mind, want to paint single cells again?</p>
<p>Easy! Just uncheck that large check next to the color picker below the canvas</p>
</li>
</ul>
</div>
<div class="canvas-wrap">
<figure>
<table id="canvas"></table>
<figcaption id="caption"></figcaption>
</figure>
<div class="multiplier hidden">
<h2>Paint Multiple Cells</h2>
<div class="mcpform">
<input type="color" id="multiple-cell-painter" value="#ffffff">
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script src="designs.js"></script>
</body>
</html>