This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (29 loc) · 3.21 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
<!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>Block Maker</title>
<script src="script.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1 class="head-title">Block Maker</h1>
<!-- <p>Left click: Paint Pixel<br>Right click: Clear pixel</p> -->
<div class="editor">
<div class="controls">
<input class="control-button color-launch" type="color" id="choose" title="Choose another color" value="#00ffff">
<button class="control-button" type="button" id="fill" title="Fill block with color">Fill</button>
<button class="control-button" type="button" id="random" title="Paint a pixel randomly">Random</button>
<button class="control-button" type="button" id="frandom" title="Fill block randomly">Random fill</button>
<button class="control-button" type="button" id="eraser" title="Set color to transparent">Eraser</button>
<button class="control-button" type="button" id="clear" title="Clear drawing">Clear</button>
<button class="control-button" type="button" id="download" title="Download generated image">Download</button>
</div>
<div class="buttongrid" id="block"></div>
</div>
<svg xmlns="http://www.w3.org/2000/svg" id="output" class="preview" width="16" height="16" viewBox="0 0 16 16"></svg>
</body>
</html>