-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
54 lines (42 loc) · 1.52 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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Fun Pixel Art Maker</title>
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>My pixel maker</title>
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Monoton">
<link rel="stylesheet" href="styles.css">
<h1>ALC Pixel Art Maker</h1>
<h2>Choose Grid Size</h2>
<form id="sizePicker">
<strong> Grid Height: </strong>
<input type="number" id="input_height" name="height" min="1" max="35" value="10">
<strong> Grid Width: </strong>
<input type="number" id="input_width" name="width" min="1" max="35" value="10">
<input type="submit" value="submit">
</form>
<h2><strong>Pick A Color</strong><br></h2>
<input type="color" id="colorPicker">
<h2><strong>Design Canvas</strong><br></h2>
<button id="save" >Save Canvas</button>
<table id="pixel_canvas"></table>
<p>Hint on using the pixel maker:</p>
<p>Continuous drawing: press and drag left mouse button.</p>
<p>Single-cell drawing: click on left or right mouse button.</p>
<p>To delete a single pixel: click twice on left mouse button.</p>
</body>
</html>
<script src="index.js"></script>
</body>
</html>